Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix search filter

sytolk7fd97bdcf63b
diff --git a/app/hooks/DirectoryContentContextProvider.tsx b/app/hooks/DirectoryContentContextProvider.tsx
index 6573a2928..6f2c16bcf 100644
--- a/app/hooks/DirectoryContentContextProvider.tsx
+++ b/app/hooks/DirectoryContentContextProvider.tsx
@@ -269,6 +269,7 @@ export const DirectoryContentContextProvider = ({
function exitSearchMode() {
isSearchMode.current = false;
+ dispatch(AppActions.setSearchFilter(undefined));
forceUpdate();
}