We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc72899 commit e6886b3Copy full SHA for e6886b3
src/app/AppLayout/AppLayout.tsx
@@ -611,15 +611,16 @@ export const AppLayout: React.FC<AppLayoutProps> = ({ children }) => {
611
} else if (!renderables.length) {
612
items = [];
613
} else {
614
+ const navKey = `${group}.${k}`;
615
const anyActive = rs.some((r) => isActiveRoute(r));
616
items = [
617
<NavExpandable
- key={k}
618
+ key={navKey}
619
title={t(k)}
- groupId={k}
620
+ groupId={navKey}
621
isActive={anyActive}
- isExpanded={navExpandedStates[k] ?? true}
622
- onExpand={handleNavExpand(k)}
+ isExpanded={navExpandedStates[navKey] ?? true}
623
+ onExpand={handleNavExpand(navKey)}
624
>
625
{renderables}
626
</NavExpandable>,
0 commit comments