Skip to content

Commit

Permalink
Updated for unav reload for mobile tray
Browse files Browse the repository at this point in the history
  • Loading branch information
Snehal Sonawane committed Jan 6, 2025
1 parent 1972434 commit 7dfd3c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/blocks/global-navigation/global-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ class Gnav {
await window.UniversalNav(CONFIG.universalNav.universalNavConfig);
this.decorateAppPrompt({ getAnchorState: () => window.UniversalNav.getComponent?.('app-switcher') });
isDesktop.addEventListener('change', () => {
window.UniversalNav.reload(CONFIG.universalNav.universalNavConfig);
window.UniversalNav.reload(getConfiguration());
});
};

Expand Down

0 comments on commit 7dfd3c9

Please sign in to comment.