diff --git a/src/components/NcActions/NcActions.vue b/src/components/NcActions/NcActions.vue index 6d5dd3cc2b..7752aa389c 100644 --- a/src/components/NcActions/NcActions.vue +++ b/src/components/NcActions/NcActions.vue @@ -1075,13 +1075,7 @@ export default { }) ) const ariaExpandedForTrigger = () => { - if (isNav) { - return this.opened.toString() - } - if (this.opened) { - return this.opened.toString() - } - return null + return (isNav || this.opened) ? this.opened.toString() : null } return h('NcPopover', {