0
joe@tronactive.com created
- ABP Framework version: v7.2.2
- UI type: Blazor
- DB provider: EF Core
- **Tiered (MVC) : yes
I just added the File Management Module and I wanted to override the menu of the one that is auto added so I can get rid of the feature enabled requirement and change things like the icon and order. But when I add the below menu code, it just adds a second menu item instead of overriding the one that gets added automatically through the module. How can I override the menu?
//File Management
context.Menu.AddItem(
new ApplicationMenuItem(FileManagementMenuNames.GroupName,
displayName: "File Management",
url: "~/file-management",
icon: "fa-duotone fa-folder-open",
order: 6,
requiredPermissionName: Cure8Permissions.AdminApi));
2 Answer(s)
-
0
Hi,
You can check the document: https://docs.abp.io/en/abp/latest/UI/Blazor/Navigation-Menu#manipulating-the-existing-menu-items
-
0
Thank you