Explorar o código

Fix account menu items not being marked as active

Thibaud Colas %!s(int64=3) %!d(string=hai) anos
pai
achega
dab2ad3b3f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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('', accountMenuItems);
 
     let bestMatch: [string, string] | null = null;
     urlPathsToNavigationPaths.forEach(([urlPath, navPath]) => {