From 277368f41f63100bd40c15020d4c932e859b298c Mon Sep 17 00:00:00 2001 From: rithviknishad Date: Thu, 5 Sep 2024 13:57:28 +0530 Subject: [PATCH] Fixes state admin unable to to switch back to live patients tab from discharged --- src/Components/Patient/ManagePatients.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Patient/ManagePatients.tsx b/src/Components/Patient/ManagePatients.tsx index ab570dd57b6..98a4a41befd 100644 --- a/src/Components/Patient/ManagePatients.tsx +++ b/src/Components/Patient/ManagePatients.tsx @@ -854,7 +854,7 @@ export const PatientManager = () => { { text: t("discharged"), value: 1 }, ]} onTabChange={(tab) => { - if (tab === "LIVE") { + if (tab === 0) { updateQuery({ is_active: "True" }); } else { const id = qParams.facility || onlyAccessibleFacility?.id;