Skip to content

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

fix" Use as wallpaper for current folder not visible without folder reopening

sytolk83384c97a4b3
diff --git a/app/services/utils-io.ts b/app/services/utils-io.ts
index 664344254..58ddf9a3e 100644
--- a/app/services/utils-io.ts
+++ b/app/services/utils-io.ts
@@ -1470,9 +1470,9 @@ export function getBgndPath(bgndPath: string, lastBackgroundImageChange: any) {
}
return (
normalizeUrl(bgndPath) +
- (lastBackgroundImageChange &&
- lastBackgroundImageChange.folderPath === bgndPath
- ? '?' + lastBackgroundImageChange.dt
+ (lastBackgroundImageChange
+ ? // && lastBackgroundImageChange.folderPath === bgndPath
+ '?' + lastBackgroundImageChange.dt
: '')
);
}