Fix filter disappearing when clicking Apply Filter

This commit is contained in:
Laurent Nguyen 2024-04-29 10:53:35 +02:00
parent 553aad5cda
commit e9d713e65b

View File

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