More specific

This commit is contained in:
Lance Pioch 2024-04-04 21:26:18 -04:00
parent 978a4ac0a2
commit bf8f90f479

View File

@ -122,6 +122,7 @@ class ServerResource extends Resource
->url(fn (Server $server): string => route('filament.admin.resources.users.edit', ['record' => $server->user]))
->sortable(),
Tables\Columns\SelectColumn::make('allocation.id')
->label('Primary Allocation')
->options(fn ($state, Server $server) => [$server->allocation->id => $server->allocation->address])
->selectablePlaceholder(false)
->sortable(),