diff --git a/resources/views/segments/menu/HomayonMenu/HomayonMenu.blade.php b/resources/views/segments/menu/HomayonMenu/HomayonMenu.blade.php index 17be3d6..16ad8e9 100644 --- a/resources/views/segments/menu/HomayonMenu/HomayonMenu.blade.php +++ b/resources/views/segments/menu/HomayonMenu/HomayonMenu.blade.php @@ -137,7 +137,7 @@ {{$item->title}} - @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)