@php use Filament\Actions\Contracts\HasActions; @endphp @if ($this instanceof HasActions && (! $this->hasActionsModalRendered))
@foreach ($this->getMountedActions() as $action) @if ((! $loop->last) || $this->mountedActionShouldOpenModal()) {{ $action->toModalHtmlable() }} @endif @endforeach
@php $this->hasActionsModalRendered = true; @endphp @endif