mapper fix
This commit is contained in:
1 parent
b1e0ba1999
commit
a8ec8c73d7
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user