From 799aa24ded7e6789187959c94c29befe54d3764f Mon Sep 17 00:00:00 2001 From: rachana-egov Date: Fri, 29 Nov 2024 12:12:55 +0530 Subject: [PATCH] fixed back button issue in plan inbox --- .../microplan/src/components/ConfirmationPopUp.js | 4 ++-- .../modules/microplan/src/pages/employee/PlanInbox.js | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/ConfirmationPopUp.js b/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/ConfirmationPopUp.js index fa5502e5181..4990b3aeb2a 100644 --- a/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/ConfirmationPopUp.js +++ b/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/ConfirmationPopUp.js @@ -58,7 +58,7 @@ const ConfirmationPopUp = ({ onClose, alertHeading, alertMessage, submitLabel, u variation="secondary" label={t(submitLabel)} onClick={handleSave} - isDisabled={isSubmitting} // Disable button during submission + isDisabled={isSubmitting || mutation.isLoading} // Disable button during submission />,