TagSpaces is an offline, open source, document manager with tagging support
disable thumb generation in web and objectstore mode
Ilian Sapundshiev5658b8765ce4
diff --git a/app/reducers/app.js b/app/reducers/app.jsindex 13c2af70c..78fe3fbbd 100644--- a/app/reducers/app.js+++ b/app/reducers/app.js@@ -1251,7 +1251,12 @@ function prepareDirectoryContent(}const enhancedEntry = enhanceEntry(entry);directoryContent.push(enhancedEntry);- if (enhancedEntry.isFile && settings.useGenerateThumbnails) {+ if ( // Enable thumb generation by+ !AppConfig.isWeb && // not in webdav mode+ !PlatformIO.haveObjectStoreSupport() && // not in object store mode+ enhancedEntry.isFile && // only for files+ settings.useGenerateThumbnails // enabled in the settings+ ) {if (isWorkerAvailable) {tmbGenerationList.push(enhancedEntry.path);} else {