Fix setting management dependency problem and top menu items.

pull/8074/head
Halil İbrahim Kalkan 5 years ago
parent e377beaa7b
commit c06e4edb22

@ -12,12 +12,11 @@
<a class="dropdown-item @cssClass @disabled" href="@url" target="@MenuItem.Target" id="@elementId">
@if (MenuItem.Icon != null)
{
if (MenuItem.Icon.StartsWith("fa"))
{
<i class="@MenuItem.Icon"></i>
}
<i class="@MenuItem.Icon mr-1"></i>
}
@MenuItem.DisplayName
<span>
@MenuItem.DisplayName
</span>
</a>
}
}
@ -26,10 +25,11 @@ else
<div class="dropdown-submenu">
<a role="button" @onclick="ToggleSubMenu" class="btn dropdown-toggle" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
<span class="lp-icon">
<i class="@(MenuItem.Icon ?? "")"></i>
</span>
<span class="lp-text">
@if (MenuItem.Icon != null)
{
<i class="@MenuItem.Icon mr-1"></i>
}
<span>
@MenuItem.DisplayName
</span>
</a>

@ -12,8 +12,7 @@ namespace Volo.Abp.SettingManagement.Blazor
[DependsOn(
typeof(AbpAutoMapperModule),
typeof(AbpAspNetCoreComponentsWebThemingModule),
typeof(AbpSettingManagementDomainSharedModule),
typeof(AbpSettingManagementHttpApiClientModule)
typeof(AbpSettingManagementApplicationContractsModule)
)]
public class AbpSettingManagementBlazorModule : AbpModule
{

@ -14,7 +14,6 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Volo.Abp.SettingManagement.HttpApi.Client\Volo.Abp.SettingManagement.HttpApi.Client.csproj" />
<ProjectReference Include="..\Volo.Abp.SettingManagement.Domain.Shared\Volo.Abp.SettingManagement.Domain.Shared.csproj" />
<ProjectReference Include="..\Volo.Abp.SettingManagement.Application.Contracts\Volo.Abp.SettingManagement.Application.Contracts.csproj" />
</ItemGroup>
</Project>

Loading…
Cancel
Save