wip
This commit is contained in:
1 parent
b9a77cab7a
commit
565b4a40f8
1 file changed
+1
-1
@@ -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');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user