mirror of
https://github.com/oqtane/oqtane.framework.git
synced 2025-05-18 18:44:23 +00:00
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
|
else
|
||||||
{
|
{
|
||||||
<li class="breadcrumb-item">
|
<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>
|
</li>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user