diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-04-21 15:40:27 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-04-21 15:49:54 +0200 |
commit | 1de3666e16af8362789d7a000c93b9aea1229c12 (patch) | |
tree | ba0a961078cf69f8a10e140b5197f8271793e05f /apps/files/src/components/FileEntry.vue | |
parent | 6e29560475f328f3f2cfe908895287f9c095eadd (diff) | |
download | nextcloud-server-1de3666e16af8362789d7a000c93b9aea1229c12.tar.gz nextcloud-server-1de3666e16af8362789d7a000c93b9aea1229c12.zip |
feat(files): add dir file action parameter
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/src/components/FileEntry.vue')
-rw-r--r-- | apps/files/src/components/FileEntry.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/src/components/FileEntry.vue b/apps/files/src/components/FileEntry.vue index 215a8fdbbc7..d4258f29861 100644 --- a/apps/files/src/components/FileEntry.vue +++ b/apps/files/src/components/FileEntry.vue @@ -503,7 +503,7 @@ export default Vue.extend({ this.loading = action.id Vue.set(this.source, '_loading', true) - const success = await action.exec(this.source, this.currentView) + const success = await action.exec(this.source, this.currentView, this.dir) // If the action returns null, we stay silent if (success === null) { @@ -529,7 +529,7 @@ export default Vue.extend({ event.preventDefault() event.stopPropagation() // Execute the first default action if any - this.enabledDefaultActions[0].exec(this.source, this.currentView) + this.enabledDefaultActions[0].exec(this.source, this.currentView, this.dir) } }, |