Skip to content

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

fix thumbnails loading

sytolkafe383119701
diff --git a/app/perspectives/grid-perspective/components/MainContainer.tsx b/app/perspectives/grid-perspective/components/MainContainer.tsx
index 36f9fa855..913fe951b 100644
--- a/app/perspectives/grid-perspective/components/MainContainer.tsx
+++ b/app/perspectives/grid-perspective/components/MainContainer.tsx
@@ -312,8 +312,8 @@ function GridPerspective(props: Props) {
forceUpdate();
}
}, [
- props.currentDirectoryPath, // open subdirs
- // props.directoryContent, // open subdirs todo rethink this (replace with useEffect for currDirPath changes only)
+ // props.currentDirectoryPath, // open subdirs
+ props.directoryContent, // open subdirs todo rethink this (replace with useEffect for currDirPath changes only)
props.searchResultsCount,
sortBy.current,
orderBy.current