mapper fix

This commit is contained in:
salam committed 2026-02-03 21:37:16 +01:00
1 parent b1e0ba1999
commit a8ec8c73d7
1 file changed
+1 -1
+1 -1
View File
@@ -85,7 +85,7 @@ class MapperLeft extends Component implements HasActions, HasSchemas, HasTable
->options(function () {
$res = Event::query()->where('sport_id', auth()->user()->sport_id)->where('betradar_id', 0)->where('starttime', '>', Carbon::now())->groupBy('country_id')->pluck('country_id')->toArray();
return Country::query()->where('id', $res)->orderBy('name')->pluck('name', 'id');
return Country::query()->whereIn('id', $res)->orderBy('name')->pluck('name', 'id');
})
->live()
->reactive()