This commit is contained in:
salam committed 2026-02-08 16:03:51 +01:00
1 parent b9a77cab7a
commit 565b4a40f8
1 file changed
+1 -1
+1 -1
View File
@@ -80,7 +80,7 @@ class MapperRight extends Component implements HasActions, HasSchemas, HasTable
->tooltip('Click to filter by this group') ->tooltip('Click to filter by this group')
->description(fn ($record): string => $record->country_betsapi?->name.' '.$record->country) ->description(fn ($record): string => $record->country_betsapi?->name.' '.$record->country)
->action(function ($record) { ->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->tableFilters['events']['group_id'][] = (string) $record->group_id;
$this->dispatch('refreshMapperRight'); $this->dispatch('refreshMapperRight');
} }