fix: reset clipboard after pasting cutted files

pull/1026/head
Ramires Viana 2020-07-17 01:01:27 +00:00
parent 43526d9d1a
commit 10570ade44
1 changed files with 1 additions and 0 deletions

View File

@ -278,6 +278,7 @@ export default {
if (this.$store.state.clipboard.key === 'x') {
action = (overwrite, rename) => {
api.move(items, overwrite, rename).then(() => {
this.$store.commit('resetClipboard')
this.$store.commit('setReload', true)
}).catch(this.$showError)
}