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)
@foreach($item->dest->children()->where('hide',false)->get() as $itm)
-
diff --git a/resources/views/segments/menu/HomayonMenu/HomayonMenu.json b/resources/views/segments/menu/HomayonMenu/HomayonMenu.json
index a8f4468..0b31ee3 100644
--- a/resources/views/segments/menu/HomayonMenu/HomayonMenu.json
+++ b/resources/views/segments/menu/HomayonMenu/HomayonMenu.json
@@ -1,10 +1,10 @@
{
"name": "HomayonMenu",
- "version": "1.0",
+ "version": "1.1",
"author": "xStack",
"email": "xshop@xstack.ir",
"license": "GPL-3.0-or-later",
"url": "https:\/\/xstack.ir",
"author_url": "https:\/\/4xmen.ir",
"packages": []
-}
\ No newline at end of file
+}