From fe99515a459872cac588b39bea87428be1cdc8d6 Mon Sep 17 00:00:00 2001 From: A1Gard Date: Thu, 29 May 2025 08:10:48 +0330 Subject: [PATCH] fixed bug homayon menu don't have children --- .../views/segments/menu/HomayonMenu/HomayonMenu.blade.php | 2 +- resources/views/segments/menu/HomayonMenu/HomayonMenu.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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)