Selaa lähdekoodia

Fix account menu items not being marked as active

Thibaud Colas 3 vuotta sitten
vanhempi
commit
dab2ad3b3f
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      client/src/components/Sidebar/modules/MainMenu.tsx

+ 1 - 0
client/src/components/Sidebar/modules/MainMenu.tsx

@@ -96,6 +96,7 @@ export const Menu: React.FunctionComponent<MenuProps> = (
     };
     };
 
 
     walkMenu('', menuItems);
     walkMenu('', menuItems);
+    walkMenu('', accountMenuItems);
 
 
     let bestMatch: [string, string] | null = null;
     let bestMatch: [string, string] | null = null;
     urlPathsToNavigationPaths.forEach(([urlPath, navPath]) => {
     urlPathsToNavigationPaths.forEach(([urlPath, navPath]) => {