Skip to content

Commit

Permalink
[full-ci] Bugfix: Copy/Cut/Paste, paste shortcut doesn't trigger some…
Browse files Browse the repository at this point in the history
…times (#8480)

* Bugfix: Copy/Cut/Paste, paste shortcut doesn't trigger sometimes

* Update changelog
  • Loading branch information
lookacat authored Feb 20, 2023
1 parent 7611624 commit 666a69d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Bugfix: Paste action conflict dialog broken

We've fixed a bug that resulted in the paste action not doing anything in cases of a conflict

https://github.com/owncloud/web/pull/8480
https://github.com/owncloud/web/issues/8462
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,15 @@ export default defineComponent({
store.dispatch('Files/pasteSelectedFiles', {
targetSpace: props.space,
clientService: clientService,
createModal: instance.createModal, // FIXME
hideModal: instance.hideModal, // FIXME
showMessage: instance.showMessage, // FIXME
createModal: (modal) => {
store.dispatch('createModal', modal)
},
hideModal: (modal) => {
store.dispatch('hideModal', modal)
},
showMessage: (msg) => {
store.dispatch('showMessage', msg)
},
$gettext: language.$gettext,
$gettextInterpolate: language.interpolate,
$ngettext: language.$ngettext
Expand Down
7 changes: 4 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 666a69d

Please sign in to comment.