wip
This commit is contained in:
1 parent
d5ef146f88
commit
6fb18dc223
1 file changed
+1
-1
@@ -101,7 +101,7 @@ class MapperRight extends Component implements HasActions, HasSchemas, HasTable
|
|||||||
->preload()
|
->preload()
|
||||||
->live()
|
->live()
|
||||||
->options(function (Get $get) {
|
->options(function (Get $get) {
|
||||||
return Mapper::query()->where('sport_id', auth()->user()->sport_id)->where('provider_id', auth()->user()->provider_id)->where('starttime', '>', Carbon::now())->groupBy('country_id')->pluck('country', 'country_id')->toArray();
|
return Mapper::query()->where('sport_id', auth()->user()->sport_id)->where('provider_id', auth()->user()->provider_id)->where('starttime', '>', Carbon::now())->groupBy('country_id')->orderBy('country')->pluck('country', 'country_id')->toArray();
|
||||||
})
|
})
|
||||||
->afterStateUpdated(function (callable $set) {
|
->afterStateUpdated(function (callable $set) {
|
||||||
$set('group_id', null);
|
$set('group_id', null);
|
||||||
|
|||||||
Reference in new issue
Block a user