fixed bug homayon menu don't have children

master
A1Gard 7 days ago
parent b3b6fcfaf7
commit fe99515a45

@ -137,7 +137,7 @@
<a href="{{$item->webUrl()}}">
{{$item->title}}
</a>
@if($item->dest && $item->dest->children()->where('hide',false)->count() > 0)
@if($item->dest && $item->dest->children != null && $item->dest->children()->where('hide',false)->count() > 0)
<ul class="px-1 border-start border-white">
@foreach($item->dest->children()->where('hide',false)->get() as $itm)
<li>

@ -1,6 +1,6 @@
{
"name": "HomayonMenu",
"version": "1.0",
"version": "1.1",
"author": "xStack",
"email": "xshop@xstack.ir",
"license": "GPL-3.0-or-later",

Loading…
Cancel
Save