@props(['menus', 'pad' => false, 'mobile' => false, 'show' => false, 'route' => 'threads']) @foreach ($menus as $menu)
$pad && !$mobile, ]) @click.away="show = false"> @if ($menu->children?->isNotEmpty()) @else {{ $menu->name }} {{ $menu->total }} @endif @if ($menu->children)
!$mobile, ])> !$mobile, ])> {{ __('All from :category', ['category' => $menu->name]) }} {{ $menu->total }} {{-- {{ $menu->children->sum('total') }} --}}
@endif
@endforeach