Collapse filter when query is executed

This commit is contained in:
Laurent Nguyen 2024-05-02 10:07:58 +02:00
parent ad41684a7a
commit 3c9a939c31

View File

@ -1650,7 +1650,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
// collapse filter
setAppliedFilter(filterContent);
setIsFilterExpanded(!applyFilterButtonPressed);
setIsFilterExpanded(false);
document.getElementById("errorStatusIcon")?.focus();
} catch (error) {
console.error();