Skip to content

Commit

Permalink
Fixes state admin unable to to switch back to live patients tab from …
Browse files Browse the repository at this point in the history
…discharged
  • Loading branch information
rithviknishad committed Sep 5, 2024
1 parent 8b7cdb7 commit 277368f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Patient/ManagePatients.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 277368f

Please sign in to comment.