Skip to content

Commit

Permalink
Correctly pass attrs in NcActions
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <chrng8@gmail.com>
  • Loading branch information
Pytal committed Dec 1, 2022
1 parent 585b690 commit 4e85469
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/NcActions/NcActions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -939,6 +939,7 @@ export default {
],
attrs: {
'aria-label': action?.componentOptions?.propsData?.ariaLabel || action?.componentOptions?.children?.[0]?.text,
...action?.data?.attrs,
},
ref: action?.data?.ref,
props: {
Expand Down

0 comments on commit 4e85469

Please sign in to comment.