Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVinicius Reis <vinicius.reis@nextcloud.com>2022-05-27 01:56:53 +0300
committerVinicius Reis <vinicius.reis@nextcloud.com>2022-05-27 01:56:53 +0300
commit9dfa1412dabccdccd6a4eefbe0dd49f3a008053e (patch)
tree4dba9e31ef0946ff8a75e331f9f9efac79cc1ef7 /src
parent0a5eae608c8d7f218551c3fa41178d5df3f93de7 (diff)
🐛 (#2345): fix pass through of props
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Diffstat (limited to 'src')
-rw-r--r--src/components/Menu/ActionEntry.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/components/Menu/ActionEntry.js b/src/components/Menu/ActionEntry.js
index 8f9136c2b..a5666f4ef 100644
--- a/src/components/Menu/ActionEntry.js
+++ b/src/components/Menu/ActionEntry.js
@@ -28,11 +28,14 @@ export default {
functional: true,
render(h, ctx) {
const { actionEntry } = ctx.props
- const { key } = ctx.data
+ const { data, props, listeners } = ctx
+ const { key } = data
const params = {
- ...ctx,
+ data,
key,
+ props,
+ on: listeners,
}
if (actionEntry.component) {