bug
This commit is contained in:
1 parent
1fee68a1b2
commit
9b864c6351
1 file changed
+2
-2
@@ -53,9 +53,9 @@ class MultilineBookmaker extends Component implements HasActions, HasSchemas, Ha
|
|||||||
->width('2rem')
|
->width('2rem')
|
||||||
->options(function () {
|
->options(function () {
|
||||||
if (auth()->user()->sport_id == 1) {
|
if (auth()->user()->sport_id == 1) {
|
||||||
Bookmaker::where('in_soccer', 1)->pluck('name', 'id');
|
return Bookmaker::where('in_soccer', 1)->pluck('name', 'id');
|
||||||
} else {
|
} else {
|
||||||
Bookmaker::where('in_other', 1)->pluck('name', 'id');
|
return Bookmaker::where('in_other', 1)->pluck('name', 'id');
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in new issue
Block a user