@props([ 'notifications', 'unreadNotificationsCount', ]) @php use Filament\Support\Enums\Alignment; $hasNotifications = $notifications->count(); $isPaginated = $notifications instanceof \Illuminate\Contracts\Pagination\Paginator && $notifications->hasPages(); @endphp @if ($hasNotifications)
! $isPaginated, 'border-b border-gray-200 dark:border-white/10' => $isPaginated, ]) > @foreach ($notifications as $notification)
$notification->unread(), ]) > {{ $this->getNotification($notification)->inline() }}
@endforeach
@if ($isPaginated) @endif @endif