From e2a7226b303d9c1be742d985f7e75355d28147f6 Mon Sep 17 00:00:00 2001 From: salam Date: Sun, 8 Feb 2026 15:38:56 +0100 Subject: [PATCH] fix mapper --- app/Livewire/MapperLeft.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Livewire/MapperLeft.php b/app/Livewire/MapperLeft.php index 14f93052..1492f8cd 100644 --- a/app/Livewire/MapperLeft.php +++ b/app/Livewire/MapperLeft.php @@ -75,7 +75,7 @@ class MapperLeft extends Component implements HasActions, HasSchemas, HasTable TextColumn::make('competition_group.name')->label('Group') ->wrap() ->tooltip('Click to filter by this group') - ->description(fn ($record): string => $record->country->name) + ->description(fn ($record): string => $record->country?->name ?? '') ->action(function ($record) { if (! in_array($record->competition_group_id, $this->tableFilters['events']['competition_group_id'])) { $this->tableFilters['events']['competition_group_id'][] = (string) $record->competition_group_id;