From 3f7c42c51e15ad0799fc4f64ac8e3c250847e3a6 Mon Sep 17 00:00:00 2001 From: Yury Bondarenko Date: Fri, 7 Feb 2025 13:46:22 +0100 Subject: [PATCH] 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 --- src/app/shared/menu/menu-provider.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/shared/menu/menu-provider.service.ts b/src/app/shared/menu/menu-provider.service.ts index 2ef19010c1..99021b8941 100644 --- a/src/app/shared/menu/menu-provider.service.ts +++ b/src/app/shared/menu/menu-provider.service.ts @@ -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, });