Skip to content

Commit

Permalink
CNS: Skip filtering by bed_occupied if "hide monitors without patie…
Browse files Browse the repository at this point in the history
…nt" is unchecked (#7881)
  • Loading branch information
rithviknishad authored May 22, 2024
1 parent 9194091 commit 48838b8
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) {
asset_class: "HL7MONITOR",
ordering: qParams.ordering || "bed__name",
bed_is_occupied:
(qParams.hide_monitors_without_patient ?? "true") === "true",
(qParams.hide_monitors_without_patient ?? "true") === "true" ||
undefined,
},
});

Expand Down

0 comments on commit 48838b8

Please sign in to comment.