mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
Move item grid to folder bug
This commit is contained in:
@@ -96,7 +96,7 @@ export default {
|
||||
// Move item
|
||||
this.$store.dispatch('moveItem', {
|
||||
to_item: this.selectedFolder,
|
||||
noSelectedItem: this.isSelectedItem ? this.pickedItem : null,
|
||||
item: this.isSelectedItem ? this.pickedItem : undefined,
|
||||
})
|
||||
|
||||
// Close popup
|
||||
|
||||
@@ -108,7 +108,7 @@ export default {
|
||||
if (!this.clipboard.includes(this.draggedItem[0])) {
|
||||
this.$store.dispatch('moveItem', {
|
||||
to_item: this.nodes,
|
||||
noSelectedItem: this.draggedItem[0],
|
||||
item: this.draggedItem[0],
|
||||
})
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@ export default {
|
||||
if (this.clipboard.includes(this.draggedItem[0])) {
|
||||
this.$store.dispatch('moveItem', {
|
||||
to_item: this.nodes,
|
||||
noSelectedItem: null,
|
||||
item: null,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user