diff --git a/public/app/core/components/MegaMenu/MegaMenu.tsx b/public/app/core/components/MegaMenu/MegaMenu.tsx index e1d6fea2309..4aa604a3175 100644 --- a/public/app/core/components/MegaMenu/MegaMenu.tsx +++ b/public/app/core/components/MegaMenu/MegaMenu.tsx @@ -46,16 +46,13 @@ export const MegaMenu = React.memo(({ onClose, searchBarHidden }) => { location ).map((item) => enrichWithInteractionTracking(item, true)); - const activeItem = getActiveItem(navTree, location.pathname); + const navItems = [homeItem, ...coreItems, ...pluginItems, ...configItems]; + + const activeItem = getActiveItem(navItems, location.pathname); return (
- +
); });