From 10570ade442b573ebe00af08369e28b1b0688df6 Mon Sep 17 00:00:00 2001 From: Ramires Viana <59319979+ramiresviana@users.noreply.github.com> Date: Fri, 17 Jul 2020 01:01:27 +0000 Subject: [PATCH] fix: reset clipboard after pasting cutted files --- frontend/src/components/files/Listing.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/components/files/Listing.vue b/frontend/src/components/files/Listing.vue index 6f811efb..6a4eefdb 100644 --- a/frontend/src/components/files/Listing.vue +++ b/frontend/src/components/files/Listing.vue @@ -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) }