Skip to content

Commit

Permalink
fixup! apply suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Raimund Schlüßler <[email protected]>
Signed-off-by: Grigorii K. Shartsev <[email protected]>
  • Loading branch information
2 people authored and mejo- committed Jan 30, 2024
1 parent b895dd2 commit 09ef406
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/NcActions/NcActions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1486,8 +1486,8 @@ export default {
// (!) Hotfix (!)
// In Vue 2 it is not easy to search for NcAction* in sub-component of a slot.
// When a menu is rendered, children are not mounted yet.
// If we have NaActions > MyActionsList > NcActionButton, only MyActionsList's vnode is available.
// So when NcActions has actions as non-direct children, here the we don't know about them.
// If we have NcActions > MyActionsList > NcActionButton, only MyActionsList's vnode is available.
// So when NcActions has actions as non-direct children, here then we don't know about them.
// Like this menu has no buttons/links/inputs.
// It makes the menu incorrectly considered a tooltip.
const ncActions = actions.filter((action) => this.getActionName(action).startsWith('NcAction'))
Expand Down

0 comments on commit 09ef406

Please sign in to comment.