Skip to content

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

TSN818 - Fix deleting to trashbin on electron (#1562)

Stanimirc82e4bfd1f52
diff --git a/app/reducers/app.ts b/app/reducers/app.ts
index 2211072e3..bfb6211ca 100644
--- a/app/reducers/app.ts
+++ b/app/reducers/app.ts
@@ -1835,7 +1835,7 @@ export const actions = {
// Delete sidecar file and thumb
deleteFilesPromise([
getMetaFileLocationForFile(filePath, PlatformIO.getDirSeparator()),
- getThumbFileLocationForFile(filePath, PlatformIO.getDirSeparator())
+ getThumbFileLocationForFile(filePath, PlatformIO.getDirSeparator(), false)
])
.then(() => {
console.log(
diff --git a/package.json b/package.json
index 70c08975c..d4eb252d0 100644
--- a/package.json
+++ b/package.json
@@ -152,7 +152,7 @@
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "^4.0.0-alpha.57",
"@material-ui/pickers": "^3.2.10",
- "@tagspaces/tagspaces-platforms": "1.2.15",
+ "@tagspaces/tagspaces-platforms": "1.2.16",
"aws-amplify": "^4.3.8",
"aws-sdk": "^2.1035.0",
"babel-polyfill": "^6.26.0",
diff --git a/yarn.lock b/yarn.lock
index d3b46df01..026f95188 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -4014,10 +4014,10 @@
dependencies:
defer-to-connect "^1.0.1"
-"@tagspaces/[email protected]":
- version "1.2.15"
- resolved "https://registry.yarnpkg.com/@tagspaces/tagspaces-platforms/-/tagspaces-platforms-1.2.15.tgz#5cd1c3eaf34e8a4d1575598e6410234088f86ced"
- integrity sha512-NxSBwrZGvVHvEMbUkSPVC+f7RhdEM22D+LgzPclXCGTS1f8mCQoH5XJHKLDR1Nlyg4n4PnpfMs3UQ4AbUJ2muw==
+"@tagspaces/[email protected]":
+ version "1.2.16"
+ resolved "https://registry.yarnpkg.com/@tagspaces/tagspaces-platforms/-/tagspaces-platforms-1.2.16.tgz#b757fc730e4c5f7c843fc83d5606740d7b887a79"
+ integrity sha512-M5fl//3Q5lgwSMQe/Vke7jv/QI4IAXr9CZfw+AEfigELX0wxfqbV6mLZMjqX82Gw7LILtVi3cSo61qaz5Yj8AQ==
"@testim/chrome-version@^1.0.7":
version "1.0.7"