From 3c9a939c3113d9776be1bb12e37804730d793c9c Mon Sep 17 00:00:00 2001 From: Laurent Nguyen Date: Thu, 2 May 2024 10:07:58 +0200 Subject: [PATCH] Collapse filter when query is executed --- src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx index 319d91eb6..50aa33b98 100644 --- a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx +++ b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx @@ -1650,7 +1650,7 @@ const DocumentsTabComponent: React.FunctionComponent<{ // collapse filter setAppliedFilter(filterContent); - setIsFilterExpanded(!applyFilterButtonPressed); + setIsFilterExpanded(false); document.getElementById("errorStatusIcon")?.focus(); } catch (error) { console.error();