fix power actions on grid server entry

This commit is contained in:
Boy132 2025-08-13 15:41:41 +02:00
parent e4d28d2333
commit ebedbc4560

View File

@ -22,11 +22,9 @@
</h2>
<div class="end-0" x-on:click.stop>
<div class="flex-1 dark:bg-gray-800 dark:text-white rounded-b-lg overflow-hidden p-1">
{{--<x-filament-tables::actions // TODO
:actions="\App\Filament\App\Resources\ServerResource\Pages\ListServers::getPowerActions(view: 'grid')"
:alignment="\Filament\Support\Enums\Alignment::Center"
:record="$server"
/>--}}
@foreach (\App\Filament\App\Resources\ServerResource\Pages\ListServers::getPowerActions(view: 'grid') as $action)
{{ $action->record($server) }}
@endforeach
</div>
</div>
</div>