diff --git a/ServiceHost/Areas/Client/Pages/Shared/_ClientLayout.cshtml b/ServiceHost/Areas/Client/Pages/Shared/_ClientLayout.cshtml index 760a9895..647d9b6b 100644 --- a/ServiceHost/Areas/Client/Pages/Shared/_ClientLayout.cshtml +++ b/ServiceHost/Areas/Client/Pages/Shared/_ClientLayout.cshtml @@ -389,16 +389,17 @@ success: function (response) { if (response.success) { if (response.countWorkFlow === 0) { - $('#_countWorkFlowMenu').hide(); - $('#spinnerWorkFlow').hide(); + $('#_countWorkFlowMenu, #_countRollCallMenuSubmenu').hide(); + $('#spinnerWorkFlow, #spinnerRollCall').hide(); $('#_countWorkFlowMenuMobile').hide(); $('#spinnerWorkFlowMobile').hide(); } else { - $('#_countWorkFlowMenu').css('display', 'flex'); - $('#spinnerWorkFlow').hide(); + $('#_countWorkFlowMenu, #_countRollCallMenuSubmenu').css('display', 'flex'); + $('#spinnerWorkFlow, #spinnerRollCall').hide(); $('#_countWorkFlowMenuMobile').show(); // $('#spinnerWorkFlowMobile').hide(); $('#_countWorkFlowMenu').text(response.countWorkFlow); + $('#_countRollCallMenuSubmenu').text(response.countWorkFlow); $('#_countWorkFlowMenuMobile').text(response.countWorkFlow); } } diff --git a/ServiceHost/Areas/Client/Pages/Shared/_Menu.cshtml b/ServiceHost/Areas/Client/Pages/Shared/_Menu.cshtml index 025868b6..b1c2007f 100644 --- a/ServiceHost/Areas/Client/Pages/Shared/_Menu.cshtml +++ b/ServiceHost/Areas/Client/Pages/Shared/_Menu.cshtml @@ -101,13 +101,13 @@