TagSpaces is an offline, open source, document manager with tagging support
fix thumb url
Stanimir Marinov9317b67a1da3
diff --git a/app/perspectives/grid-perspective/src/index.js b/app/perspectives/grid-perspective/src/index.jsindex 3752b163b..99abc5ec5 100644--- a/app/perspectives/grid-perspective/src/index.js+++ b/app/perspectives/grid-perspective/src/index.js@@ -670,8 +670,9 @@ class GridPerspective extends React.Component<Props, State> {fsEntry.isFile,supportedFileTypes);+let thumbPathUrl = fsEntry.thumbPath- ? 'url("' + fsEntry.thumbPath + '?' + new Date().getTime() + '")'+ ? 'url("' + fsEntry.thumbPath + '")': '';if (AppConfig.isWin) {thumbPathUrl = thumbPathUrl.split('\\').join('\\\\');diff --git a/app/reducers/app.js b/app/reducers/app.jsindex 9717bf0c8..13c06a832 100644--- a/app/reducers/app.js+++ b/app/reducers/app.js@@ -623,7 +623,7 @@ export const actions = {updateThumbnailUrl: (filePath: string, thumbUrl: string) => ({type: types.UPDATE_THUMB_URL,filePath,- thumbUrl+ thumbUrl: thumbUrl + '?' + new Date().getTime()}),updateThumbnailUrls: (tmbURLs: Array<any>) => ({type: types.UPDATE_THUMB_URLS,