TagSpaces is an offline, open source, document manager with tagging support
minor changes - load parent folder in search mode improvement
sytolkff9588de7fae
diff --git a/src/renderer/hooks/DirectoryContentContextProvider.tsx b/src/renderer/hooks/DirectoryContentContextProvider.tsxindex 540c1c19e..16fc7fac0 100644--- a/src/renderer/hooks/DirectoryContentContextProvider.tsx+++ b/src/renderer/hooks/DirectoryContentContextProvider.tsx@@ -476,6 +476,7 @@ export const DirectoryContentContextProvider = ({function loadParentDirectoryContent() {if (isSearchMode.current) {exitSearchMode();+ return openCurrentDirectory();}// dispatch(actions.setIsLoading(true));diff --git a/src/renderer/hooks/LocationIndexContextProvider.tsx b/src/renderer/hooks/LocationIndexContextProvider.tsxindex f14f564dd..9f6af10b4 100644--- a/src/renderer/hooks/LocationIndexContextProvider.tsx+++ b/src/renderer/hooks/LocationIndexContextProvider.tsx@@ -629,7 +629,7 @@ export const LocationIndexContextProvider = ({indexUpdateSidecarTags,reflectUpdateSidecarMeta,};- }, [currentLocation, index.current, isIndexing.current]);+ }, [currentLocation, index.current, isIndexing.current, enableWS]);return (<LocationIndexContext.Provider value={context}>