From 90e816d8eae73a143a40f0ef18e7e4dd7312d50d Mon Sep 17 00:00:00 2001 From: Caleb Schwind <46329268+cschwinderg@users.noreply.github.com> Date: Fri, 6 Dec 2024 10:15:32 -0500 Subject: [PATCH] Fixed issue with advanced search not working for particular actions. --- .../src/components/pages/StateTribal.Tabs.AdvancedSearch.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/client/src/components/pages/StateTribal.Tabs.AdvancedSearch.tsx b/app/client/src/components/pages/StateTribal.Tabs.AdvancedSearch.tsx index 716ffbd13..029f909bb 100644 --- a/app/client/src/components/pages/StateTribal.Tabs.AdvancedSearch.tsx +++ b/app/client/src/components/pages/StateTribal.Tabs.AdvancedSearch.tsx @@ -971,7 +971,8 @@ function AdvancedSearch() { css={buttonStyles} disabled={searchLoading} onClick={(_ev) => { - mapView?.popup?.close(); + console.log('mapView: ', mapView?.popup); + if (mapView?.popup?.close) mapView.popup.close(); executeFilter(); }} >