From e9d713e65b7d6f82ad60e580e16fe73f59d9eab0 Mon Sep 17 00:00:00 2001 From: Laurent Nguyen Date: Mon, 29 Apr 2024 10:53:35 +0200 Subject: [PATCH] Fix filter disappearing when clicking Apply Filter --- 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 483116328..0bd9d8299 100644 --- a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx +++ b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx @@ -1600,7 +1600,7 @@ const DocumentsTabComponent: React.FunctionComponent<{ // collapse filter setAppliedFilter(filterContent); - setIsFilterExpanded(false); + setIsFilterExpanded(applyFilterButtonPressed); document.getElementById("errorStatusIcon")?.focus(); } catch (error) { console.error();