@php use App\Enums\NotificationActionType; $notificationCount = $notifications->count(); $visibleNotifications = $notifications->take(9); $hasNotifications = $notificationCount > 0; $countDisplay = $notificationCount > 9 ? '9+' : (string) $notificationCount; @endphp {{-- Notification Dropdown Menu --}} @push('scripts') @endpush