diff --git a/src/EasyAbp.ReviewManagement.Web/Menus/ReviewManagementMenuContributor.cs b/src/EasyAbp.ReviewManagement.Web/Menus/ReviewManagementMenuContributor.cs index 1befbb0..6f2ab0a 100644 --- a/src/EasyAbp.ReviewManagement.Web/Menus/ReviewManagementMenuContributor.cs +++ b/src/EasyAbp.ReviewManagement.Web/Menus/ReviewManagementMenuContributor.cs @@ -21,7 +21,8 @@ private async Task ConfigureMainMenu(MenuConfigurationContext context) var l = context.GetLocalizer(); //Add main menu items. - var reviewManagementMenuItem = new ApplicationMenuItem(ReviewManagementMenus.Prefix, l["Menu:ReviewManagement"]); + var reviewManagementMenuItem = new ApplicationMenuItem(ReviewManagementMenus.Prefix, + l["Menu:ReviewManagement"], icon: "fa fa-comment"); if (await context.IsGrantedAsync(ReviewManagementPermissions.Review.Manage)) { @@ -32,7 +33,7 @@ private async Task ConfigureMainMenu(MenuConfigurationContext context) if (!reviewManagementMenuItem.Items.IsNullOrEmpty()) { - context.Menu.Items.Add(reviewManagementMenuItem); + context.Menu.GetAdministration().Items.Add(reviewManagementMenuItem); } } }