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:
parent
087c053bd5
commit
2567c2937d
|
@ -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>
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user