-
{{-- Foreach menu item starts --}}
@if (isset($menuData[0]))
@foreach ($menuData[0]->menu as $menu)
@if (isset($menu->navheader))
- {{ $menu->navheader }} @else {{-- Add Custom Class with nav-item --}} @php $custom_classes = ''; if (isset($menu->classlist)) { $custom_classes = $menu->classlist; } @endphp
- {{ $menu->name }} @if (isset($menu->badge)) {{ $menu->badge }} @endif @if (isset($menu->submenu)) @include('panels/submenu', ['menu' => $menu->submenu]) @endif @endif @endforeach @endif {{-- Foreach menu item ends --}}