UI: Fix deleting folders

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2020-10-20 16:46:39 +02:00
parent 770f1158ec
commit 37eb959ac2
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
"@nextcloud/router": "^1.2.0",
"@nextcloud/vue": "^2.6.5",
"@nextcloud/vue-dashboard": "^1.0.1",
"async-parallel": "^1.2.3",
"async-parallel": "^1.2.3",
"copy-text-to-clipboard": "^2.2.0",
"humanize-duration": "^3.24.0",
"style-loader": "^1.3.0",

View File

@ -135,7 +135,7 @@ export default {
this.$store.dispatch(actions.OPEN_FOLDER_DETAILS, this.folder.id)
},
onDelete() {
this.$store.dispatch(actions.DELETE_FOLDER, this.folder.id)
this.$store.dispatch(actions.DELETE_FOLDER, { id: this.folder.id })
},
onMove() {
this.$store.commit(mutations.RESET_SELECTION)