Fix for #1797 Breadcrumbs render clickable

This fixes the issue when the page property IsClickable is set to false the breadcrum for the page is not clickable.
This commit is contained in:
Leigh 2021-11-12 07:07:15 +01:00
parent 087c053bd5
commit 2567c2937d

View File

@ -16,7 +16,15 @@
else
{
<li class="breadcrumb-item">
<a href="@NavigateUrl(p.Path)">@p.Name</a>
@if(p.IsClickable)
{
<a href="@NavigateUrl(p.Path)">@p.Name</a>
}
else
{
@p.Name
}
</li>
}
}