feat: duplicate files in the same directory

This commit is contained in:
Ramires Viana
2020-07-16 19:50:00 +00:00
parent 2636f876ab
commit 43526d9d1a
3 changed files with 23 additions and 2 deletions

View File

@@ -248,7 +248,8 @@ export default {
this.$store.commit('updateClipboard', {
key: key,
items: items
items: items,
path: this.$route.path
})
},
paste (event) {
@@ -282,6 +283,12 @@ export default {
}
}
if (this.$store.state.clipboard.path == this.$route.path) {
action(false, true)
return
}
let conflict = upload.checkConflict(items, this.req.items)
let overwrite = false