From f08c8a1ab4d0499da7d71c0835980686dbddb18f Mon Sep 17 00:00:00 2001 From: Chad Burt Date: Fri, 8 Nov 2024 15:26:02 -0800 Subject: [PATCH] WIP --- packages/client/src/formElements/FilterInput.tsx | 1 - packages/client/src/formElements/FilterInputContext.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/client/src/formElements/FilterInput.tsx b/packages/client/src/formElements/FilterInput.tsx index a70367f7..3f2ed8c0 100644 --- a/packages/client/src/formElements/FilterInput.tsx +++ b/packages/client/src/formElements/FilterInput.tsx @@ -197,7 +197,6 @@ const FilterInput: FormElementComponent = ( }} /> )} - ) )} diff --git a/packages/client/src/formElements/FilterInputContext.tsx b/packages/client/src/formElements/FilterInputContext.tsx index c701121d..65974525 100644 --- a/packages/client/src/formElements/FilterInputContext.tsx +++ b/packages/client/src/formElements/FilterInputContext.tsx @@ -164,7 +164,7 @@ export function FilterInputServiceContextProvider({ updatingCount: false, count: prev.fullCellCount, })); - } else if (serviceLocation) { + } else if (serviceLocation && state.fullCellCount === 0) { // TODO: update count from service setState((prev) => ({ ...prev,