Browse Source
Basic Theme: Show menu icon if it's specified without checking if it a font-awesome icon
pull/17765/head
Engincan VESKE
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
4 deletions
-
modules/basic-theme/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Themes/Basic/Components/Menu/Default.cshtml
|
|
@ -31,10 +31,7 @@ |
|
|
<a class="nav-link dropdown-toggle" href="#" id="Menu_@(menuItem.Name)" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> |
|
|
<a class="nav-link dropdown-toggle" href="#" id="Menu_@(menuItem.Name)" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> |
|
|
@if (menuItem.Icon != null) |
|
|
@if (menuItem.Icon != null) |
|
|
{ |
|
|
{ |
|
|
if (menuItem.Icon.StartsWith("fa")) |
|
|
<i class="@menuItem.Icon"></i> |
|
|
{ |
|
|
|
|
|
<i class="@menuItem.Icon"></i> |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
@menuItem.DisplayName |
|
|
@menuItem.DisplayName |
|
|
</a> |
|
|
</a> |
|
|
|