From 565b4a40f8f579a6be39465c148259c5bee37374 Mon Sep 17 00:00:00 2001 From: salam Date: Sun, 8 Feb 2026 16:03:51 +0100 Subject: [PATCH] wip --- app/Livewire/MapperRight.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Livewire/MapperRight.php b/app/Livewire/MapperRight.php index 7952873e..1c312d85 100644 --- a/app/Livewire/MapperRight.php +++ b/app/Livewire/MapperRight.php @@ -80,7 +80,7 @@ class MapperRight extends Component implements HasActions, HasSchemas, HasTable ->tooltip('Click to filter by this group') ->description(fn ($record): string => $record->country_betsapi?->name.' '.$record->country) ->action(function ($record) { - if (! in_array($record->group_id, $this->tableFilters['events']['group_id'])) { + if ($record?->group_id && ! in_array($record->group_id, $this->tableFilters['events']['group_id'])) { $this->tableFilters['events']['group_id'][] = (string) $record->group_id; $this->dispatch('refreshMapperRight'); }