Skip to content

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

fix: setting thumbnail for the parent folder

Ilian Sapundshievddd5a0c8116a
diff --git a/app/services/utils-io.ts b/app/services/utils-io.ts
index 573becc90..ed7013305 100644
--- a/app/services/utils-io.ts
+++ b/app/services/utils-io.ts
@@ -1077,7 +1077,7 @@ export function setFolderThumbnailPromise(filePath: string): Promise<string> {
PlatformIO.getDirSeparator()
);
return PlatformIO.copyFilePromise(
- getThumbFileLocationForFile(filePath, PlatformIO.getDirSeparator()),
+ getThumbFileLocationForFile(filePath, PlatformIO.getDirSeparator(), false),
getThumbFileLocationForDirectory(
directoryPath,
PlatformIO.getDirSeparator()