mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-05-08 11:22:10 +00:00
fix: reset clipboard after pasting cutted files
This commit is contained in:
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…
x
Reference in New Issue
Block a user