bulk-operations v0.1 add opcaity for draged items

This commit is contained in:
Milos Holba
2020-11-29 17:50:59 +01:00
parent 7b70c81d4d
commit 58f7479380
11 changed files with 201 additions and 162 deletions

View File

@@ -160,6 +160,8 @@
dragFinish() {
this.area = false
events.$emit('drop')
// Check if draged item is folder
if (this.draggedItem && this.draggedItem.type !== 'folder') return
@@ -181,7 +183,7 @@
this.$store.dispatch('addToFavourites', null)
}
events.$emit('drop')
},
removeFavourite(folder) {
this.$store.dispatch('removeFromFavourites', folder)