mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 16:32:15 +00:00
bulk-operations fix drop of dragged item
This commit is contained in:
@@ -122,13 +122,13 @@
|
||||
this.draggedItem = []
|
||||
})
|
||||
|
||||
//Get draged item
|
||||
//Get dragged item
|
||||
events.$on('dragstart' , (data) => {
|
||||
//If is draged item not selected
|
||||
//If is dragged item not selected
|
||||
if(!this.fileInfoDetail.includes(data)) {
|
||||
this.draggedItem = [data]
|
||||
}
|
||||
//If are the draged items selected
|
||||
//If are the dragged items selected
|
||||
if(this.fileInfoDetail.includes(data)) {
|
||||
this.draggedItem = this.fileInfoDetail
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user