From d88937fa1c6e9d8d88b74dda568e81acb2f13c8d Mon Sep 17 00:00:00 2001 From: Robert Costello <42388648+Robert-Costello@users.noreply.github.com> Date: Thu, 9 Nov 2023 13:36:25 -0500 Subject: [PATCH] Revert "delay call to get_details" --- .../cloudcare/static/cloudcare/js/formplayer/menus/views.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/corehq/apps/cloudcare/static/cloudcare/js/formplayer/menus/views.js b/corehq/apps/cloudcare/static/cloudcare/js/formplayer/menus/views.js index f847762ab56b..832cc246f2f3 100644 --- a/corehq/apps/cloudcare/static/cloudcare/js/formplayer/menus/views.js +++ b/corehq/apps/cloudcare/static/cloudcare/js/formplayer/menus/views.js @@ -312,10 +312,8 @@ hqDefine("cloudcare/js/formplayer/menus/views", function () { } $.when(FormplayerFrontend.getChannel().request("icon:click", currentUrlToObject)).done(function () { - setTimeout(() => { - self.reloadCase(self.model.get('id')); - resetIcon(); - }, 500); + self.reloadCase(self.model.get('id')); + resetIcon(); }).fail(function () { resetIcon(); });