mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
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:
@@ -178,7 +178,7 @@ export class MenuProviderService {
|
|||||||
id: section.id ?? `${provider.menuProviderId}_${index}`,
|
id: section.id ?? `${provider.menuProviderId}_${index}`,
|
||||||
parentID: section.parentID ?? provider.parentID,
|
parentID: section.parentID ?? provider.parentID,
|
||||||
index: provider.index,
|
index: provider.index,
|
||||||
active: section.active ?? true,
|
active: section.active ?? false,
|
||||||
shouldPersistOnRouteChange: section.shouldPersistOnRouteChange ?? provider.shouldPersistOnRouteChange,
|
shouldPersistOnRouteChange: section.shouldPersistOnRouteChange ?? provider.shouldPersistOnRouteChange,
|
||||||
alwaysRenderExpandable: section.alwaysRenderExpandable ?? provider.alwaysRenderExpandable,
|
alwaysRenderExpandable: section.alwaysRenderExpandable ?? provider.alwaysRenderExpandable,
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user