TagSpaces is an offline, open source, document manager with tagging support
dont generate thumbnails in meta folder
sytolk6eb339cbd28a
diff --git a/src/renderer/hooks/ThumbGenerationContextProvider.tsx b/src/renderer/hooks/ThumbGenerationContextProvider.tsxindex 34a4a4c71..73d7e7454 100644--- a/src/renderer/hooks/ThumbGenerationContextProvider.tsx+++ b/src/renderer/hooks/ThumbGenerationContextProvider.tsx@@ -160,11 +160,9 @@ export const ThumbGenerationContextProvider = ({function genThumbnailsEnabled(location: CommonLocation): boolean {if (currentDirectoryPath === undefined ||- currentDirectoryPath.endsWith(- AppConfig.dirSeparator + AppConfig.metaFolder,- ) ||+ currentDirectoryPath.endsWith(AppConfig.metaFolder) ||currentDirectoryPath.indexOf(- AppConfig.dirSeparator + AppConfig.metaFolder + AppConfig.dirSeparator,+ AppConfig.metaFolder + AppConfig.dirSeparator,) !== -1) {return false; // dont generate thumbnails in meta folder