mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
bulk-operations v0.1 add opcaity for draged items
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user