@php $items = filament()->getUserMenuItems(); $logoutItem = $items['logout'] ?? null; $currentTenant = filament()->getTenant(); $currentTenantName = $currentTenant ? filament()->getTenantName($currentTenant) : null; $navigation = $component->getNavigation(); $hasDisplayAndAccessibility = $component->hasDisplayAndAccessibility(); $hasCompanySettings = $component->hasCompanySettings(); $hasLogoutItem = $component->hasLogoutItem(); $panels = $component->getNavigationAsHierarchyArray(); @endphp