From c610b791f422f7ec8915ff1c37a7d0622735d017 Mon Sep 17 00:00:00 2001 From: Rithvik Nishad Date: Wed, 3 Apr 2024 15:00:14 +0530 Subject: [PATCH] fixes 'hide moitors without patient' checkbox not changing state (#7528) --- src/Components/Facility/CentralNursingStation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Facility/CentralNursingStation.tsx b/src/Components/Facility/CentralNursingStation.tsx index 2b938d2af07..6ccb9d6d6a6 100644 --- a/src/Components/Facility/CentralNursingStation.tsx +++ b/src/Components/Facility/CentralNursingStation.tsx @@ -154,7 +154,7 @@ export default function CentralNursingStation({ facilityId }: Props) { value={JSON.parse( qParams.hide_monitors_without_patient ?? true )} - onChange={(e) => updateQuery({ [e.name]: e.value })} + onChange={(e) => updateQuery({ [e.name]: `${e.value}` })} labelClassName="text-sm" errorClassName="hidden" />