Menu sections should be inactive by default

If an expandable section in the navbar is acive by default, it will expand whn the page loads
This commit is contained in:
Yury Bondarenko
2025-02-07 13:46:22 +01:00
parent 4f1013a20d
commit 3f7c42c51e

View File

@@ -178,7 +178,7 @@ export class MenuProviderService {
id: section.id ?? `${provider.menuProviderId}_${index}`,
parentID: section.parentID ?? provider.parentID,
index: provider.index,
active: section.active ?? true,
active: section.active ?? false,
shouldPersistOnRouteChange: section.shouldPersistOnRouteChange ?? provider.shouldPersistOnRouteChange,
alwaysRenderExpandable: section.alwaysRenderExpandable ?? provider.alwaysRenderExpandable,
});