This commit is contained in:
salam committed 2026-02-03 20:04:30 +01:00
1 parent 1fee68a1b2
commit 9b864c6351
1 file changed
+2 -2
+2 -2
View File
@@ -53,9 +53,9 @@ class MultilineBookmaker extends Component implements HasActions, HasSchemas, Ha
->width('2rem')
->options(function () {
if (auth()->user()->sport_id == 1) {
Bookmaker::where('in_soccer', 1)->pluck('name', 'id');
return Bookmaker::where('in_soccer', 1)->pluck('name', 'id');
} else {
Bookmaker::where('in_other', 1)->pluck('name', 'id');
return Bookmaker::where('in_other', 1)->pluck('name', 'id');
}
}),
])