From a022752a4f1df16be652f56f3d36218260a6b164 Mon Sep 17 00:00:00 2001 From: rithviknishad Date: Tue, 31 Dec 2024 18:57:37 +0530 Subject: [PATCH] fixes #9556 --- src/components/Resource/ResourceFilter.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Resource/ResourceFilter.tsx b/src/components/Resource/ResourceFilter.tsx index aa68136bf8b..e161fcf819a 100644 --- a/src/components/Resource/ResourceFilter.tsx +++ b/src/components/Resource/ResourceFilter.tsx @@ -25,13 +25,13 @@ const getDate = (value: any) => export default function ListFilter(props: any) { const { filter, onChange, closeFilter, removeFilters } = props; const [filterState, setFilterState] = useMergeState({ - origin_facility: filter.origin_facility || "", + origin_facility: filter.origin_facility || null, origin_facility_ref: null, - approving_facility: filter.approving_facility || "", + approving_facility: filter.approving_facility || null, approving_facility_ref: null, - assigned_facility: filter.assigned_facility || "", + assigned_facility: filter.assigned_facility || null, assigned_facility_ref: null, - emergency: filter.emergency || "--", + emergency: filter.emergency || null, created_date_before: filter.created_date_before || null, created_date_after: filter.created_date_after || null, modified_date_before: filter.modified_date_before || null,