mirror of https://github.com/nextcloud/bookmarks
UI: Fix deleting folders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
770f1158ec
commit
37eb959ac2
|
@ -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",
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue