This commit is contained in:
salam committed 2026-08-05 09:17:20 +02:00
1 parent 0518e9563f
commit ffc2145ca2
3 files changed
+83 -83

No files matched your search

@@ -8,7 +8,6 @@ use Filament\Actions\Action;
use Filament\Actions\CreateAction;
use Filament\Infolists\Components\TextEntry;
use Filament\Resources\Pages\ListRecords;
use Illuminate\Support\Facades\Log;
use Illuminate\Contracts\View\View;
class ListStatistikoPlayers extends ListRecords
@@ -21,6 +20,12 @@ class ListStatistikoPlayers extends ListRecords
Action::make('missing')
->modalHeading('Missing Player')
->icon('phosphor-magnifying-glass')
->modalContent(function () {
$player = StatistikoPlayer::doesntHave('details')->get();
return view('filament.pages.list-missing-player', ['player' => $player]);
})
// ->action(fn(StatistikoPlayer $record) => StatistikoPlayer::doesntHave('details')->get())
// ->modalContent(fn($record = StatistikoPlayer::doesntHave('details')->get()): View => view(
// 'filament.pages.list-missing-player',