Skip to content

Commit

Permalink
fix(NcActions): Simplify code
Browse files Browse the repository at this point in the history
Co-authored-by: Raimund Schlüßler <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux and raimund-schluessler committed Oct 17, 2023
1 parent dd66431 commit 8d79071
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/components/NcActions/NcActions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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',
{
Expand Down

0 comments on commit 8d79071

Please sign in to comment.