Skip to content

Commit

Permalink
chore: fix logic
Browse files Browse the repository at this point in the history
Signed-off-by: Tim deBoer <[email protected]>
  • Loading branch information
deboer-tim committed Sep 18, 2024
1 parent 7e6d2e8 commit a5b5600
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ function collecItem(navigationRegistryEntry: NavigationRegistryEntry, items: Dis
if (items.find(i => i.name === navigationRegistryEntry.name)) {
return;
}

items.push({
name: navigationRegistryEntry.name,
visible: navigationRegistryEntry.hidden ? false : true,
});
}

// use helper here as window methods are initialized after the store in tests
Expand Down

0 comments on commit a5b5600

Please sign in to comment.