0
balessi75 created
ABP Commercial 7.2.1 / Blazor Server / EF / Non tiered / Separate Host and Tenant DBs / Lepton Theme
Hi, on ABP Commercial 7.2.1, we are receiving the following. We reproduced the error with a newly created solution.
abp new ABP.Test -u blazor-server -v 7.2.1 -theme lepton
Please advise.
Regards, Brian
3 Answer(s)
-
0
Hi,
I will check it
-
0
Hi,
You can try:
public class TestMenuContributor : IMenuContributor { public async Task ConfigureMenuAsync(MenuConfigurationContext context) { if (context.Menu.Name == StandardMenus.User) { context.Menu.GetMenuItemOrNull("Account.LinkedAccounts").Url = "/account/Manage"; context.Menu.GetMenuItemOrNull("Account.AuthorityDelegation").Url = "/account/Manage"; } } }
public class MyBundleContributor : BundleContributor { public override void ConfigureBundle(BundleConfigurationContext context) { context.Files.RemoveAll(x => x.Contains("link-user") || x.Contains("authority-delegation")); } } Configure<AbpBundlingOptions>(options => { options.ScriptBundles.Configure( BlazorLeptonThemeBundles.Scripts.Global, bundle => { bundle.Contributors.Add<MyBundleContributor>(); } ); });
-
0
Hi @liangshiwei ,
Thank you! This resolved the issue for us and also taught us a few things about ABP overrides.
I will close the issue.