$menu['active'] && $autoClose === 'false',
])>
@foreach($children as $child)
@php
if(in_array($child['id'], ['cms-core-settings', 'cms-core-system', 'cms-core-platform-administration'], true)) {
$child['children'] = [];
}
$childHasChildren = array_key_exists('children', $child) && count($child['children']);
@endphp
@if($childHasChildren)
@endif
@include('core/base::layouts.partials.navbar-nav-item-link', [
'menu' => $child,
'hasChildren' => $childHasChildren,
'autoClose' => $autoClose,
'isNav' => false,
])
@if($childHasChildren)
$child['active'] && $autoClose === 'false',
])
>
@foreach ($child['children'] as $childItem)
@include('core/base::layouts.partials.navbar-nav-item-link', [
'menu' => $childItem,
'hasChildren' => false,
'autoClose' => $autoClose,
'isNav' => false,
])
@endforeach
@endif
@endforeach
@endif