@php use Spatie\Comments\Enums\NotificationSubscriptionType; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Gate; @endphp
@if($writable && $showNotificationOptions && Auth::check())
@foreach(NotificationSubscriptionType::cases() as $case) @endforeach
@endif
@if ($newestFirst) @include('comments::livewire.partials.newComment') @endif @forelse($this->comments as $comment) @continue(! Gate::check('see', $comment)) @empty

{{ $noCommentsText ?? __('comments::comments.no_comments_yet') }}

@endforelse @if ($this->comments->hasPages()) {{ $this->comments->links() }} @endif @if (! $newestFirst) @include('comments::livewire.partials.newComment') @endif