Skip to content

Commit

Permalink
Update src/components/Menu/MenuBar.vue
Browse files Browse the repository at this point in the history
Co-authored-by: Jonas <[email protected]>
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliushaertl and mejo- committed Jan 10, 2024
1 parent 49b70a5 commit 8e6a07f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Menu/MenuBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export default {
// reverse logic from visibleEntries
return priority !== undefined && priority > this.iconsLimit
}).reduce((acc, entry) => {
// merge all entries children into the entries list
// If entry has children, merge them into list. Otherwise keep entry itself.
const children = entry.children ?? [entry]
return [...acc, ...children]
}, [])
Expand Down

0 comments on commit 8e6a07f

Please sign in to comment.