@if (request()->route()->getName() != 'admin.configuration.index')
@php $keys = explode('.', $menu->currentKey); @endphp
@if ($items = \Illuminate\Support\Arr::get($menu->items, implode('.children.', array_slice($keys, 0, 2)) . '.children'))
@foreach (\Illuminate\Support\Arr::get($menu->items, implode('.children.', array_slice($keys, 0, 2)) . '.children') as $item)
@endforeach
@endif
@else
@if ($items = \Illuminate\Support\Arr::get($config->items, request()->route('slug') . '.children'))
@endif
@endif