Skip to content

Commit

Permalink
fix initial state
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Jan 8, 2024
1 parent f707015 commit 7e6daee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Components/Facility/CentralNursingStation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ export default function CentralNursingStation({ facilityId }: Props) {
offset: (qParams.page ? qParams.page - 1 : 0) * PER_PAGE_LIMIT,
asset_class: "HL7MONITOR",
ordering: qParams.ordering || "bed__name",
bed_is_occupied: qParams.hide_monitors_without_patient === "true",
bed_is_occupied:
(qParams.hide_monitors_without_patient ?? "true") === "true",
},
});

Expand Down

0 comments on commit 7e6daee

Please sign in to comment.