Skip to content

Commit 3f7c42c

Browse files
committed
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
1 parent 4f1013a commit 3f7c42c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/shared/menu/menu-provider.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export class MenuProviderService {
178178
id: section.id ?? `${provider.menuProviderId}_${index}`,
179179
parentID: section.parentID ?? provider.parentID,
180180
index: provider.index,
181-
active: section.active ?? true,
181+
active: section.active ?? false,
182182
shouldPersistOnRouteChange: section.shouldPersistOnRouteChange ?? provider.shouldPersistOnRouteChange,
183183
alwaysRenderExpandable: section.alwaysRenderExpandable ?? provider.alwaysRenderExpandable,
184184
});

0 commit comments

Comments
 (0)