From 6a8ff1a1863add9f41d846a77022a3bfeb81e955 Mon Sep 17 00:00:00 2001 From: MartinOscar <40749467+RMartinOscar@users.noreply.github.com> Date: Mon, 7 Oct 2024 18:50:57 +0200 Subject: [PATCH] Update app/Filament/Resources/ServerResource/Pages/ListServers.php Co-authored-by: Boy132 --- app/Filament/Resources/ServerResource/Pages/ListServers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Filament/Resources/ServerResource/Pages/ListServers.php b/app/Filament/Resources/ServerResource/Pages/ListServers.php index f0ee09a22..326499898 100644 --- a/app/Filament/Resources/ServerResource/Pages/ListServers.php +++ b/app/Filament/Resources/ServerResource/Pages/ListServers.php @@ -67,7 +67,7 @@ class ListServers extends ListRecords ->options(fn (Server $server) => $server->allocations->mapWithKeys(fn ($allocation) => [$allocation->id => $allocation->address])) ->selectablePlaceholder(false) ->sortable(), - TextColumn::make('allocation_id_can') + TextColumn::make('allocation_id_readonly') ->label('Primary Allocation') ->hidden(auth()->user()->can('update server')) ->state(fn (Server $server) => $server->allocation->address),