Skip to content

Commit

Permalink
change(header): disabled active menu when clicking on globalnav links
Browse files Browse the repository at this point in the history
- Until the mega menu is redesigned we should avoid overlapping mega menu
  links
  • Loading branch information
ichim-david committed May 25, 2022
1 parent f9a0033 commit 3f7b5ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/Header/HeaderMenuPopUp.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const ItemsList = ({ items, renderMenuItem, level = 0, activeItem }) => (
key={item['@id'] || item.url}
className={cx({
hasSubMenu: item.items?.length > 0,
active: (item['@id'] || item.url) === activeItem,
// active: (item['@id'] || item.url) === activeItem,
})}
>
<Item item={item} renderMenuItem={renderMenuItem} />
Expand Down

0 comments on commit 3f7b5ee

Please sign in to comment.