Skip to content

Commit

Permalink
fix(Drawer): fix drawer rendering changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsvetomir-Hr committed May 20, 2024
1 parent 4d56bdf commit b68c37f
Showing 1 changed file with 12 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
@inject ITelerikStringLocalizer L

<div class="k-drawer-items">
<ul role="menubar" aria-orientation="vertical">
<DrawerNavLink href="@Home.Url" Text="@Home.Text" Icon="@Home.Icon" Match="NavLinkMatch.All" />
@foreach (var item in Data.Where(item => item.Group == "app"))
<ul role="menubar" aria-orientation="vertical" class="k-drawer-items">
<DrawerNavLink href="@Home.Url" Text="@Home.Text" Icon="@Home.Icon" Match="NavLinkMatch.All" />
@foreach (var item in Data.Where(item => item.Group == "app"))
{
<DrawerNavLink href="@item.Url" Text="@item.Text" Icon="@item.Icon" />
}
</ul>
<footer>
<ul role="menubar" aria-orientation="vertical" class="k-drawer-items">
<li class="k-drawer-item k-drawer-separator"></li>
@foreach (DrawerItem item in Data.Where(item => item.Group == "ext"))
{
<DrawerNavLink href="@item.Url" Text="@item.Text" Icon="@item.Icon" />
}
</ul>
<footer>
<ul role="menubar" aria-orientation="vertical">
<li class="k-drawer-item k-drawer-separator"></li>
@foreach (DrawerItem item in Data.Where(item => item.Group == "ext"))
{
<DrawerNavLink href="@item.Url" Text="@item.Text" Icon="@item.Icon" />
}
</ul>
</footer>
</div>
</footer>

@code {

Expand Down

0 comments on commit b68c37f

Please sign in to comment.