fix: reset clipboard after pasting cutted files
parent
43526d9d1a
commit
10570ade44
|
@ -278,6 +278,7 @@ export default {
|
||||||
if (this.$store.state.clipboard.key === 'x') {
|
if (this.$store.state.clipboard.key === 'x') {
|
||||||
action = (overwrite, rename) => {
|
action = (overwrite, rename) => {
|
||||||
api.move(items, overwrite, rename).then(() => {
|
api.move(items, overwrite, rename).then(() => {
|
||||||
|
this.$store.commit('resetClipboard')
|
||||||
this.$store.commit('setReload', true)
|
this.$store.commit('setReload', true)
|
||||||
}).catch(this.$showError)
|
}).catch(this.$showError)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue