ComparingBookmakerMenu wip
This commit is contained in:
1 parent
d07277ae06
commit
de95867692
7 files changed
+146
-74
No files matched your search
@@ -94,8 +94,6 @@ class EventsTable
|
||||
->columns([
|
||||
IconColumn::make('sport.icon')
|
||||
->label('')
|
||||
->grow(false)
|
||||
->width(30)
|
||||
->icon(fn ($record) => $record->sport->icon)
|
||||
->tooltip(fn ($record) => $record->id)
|
||||
->visibleFrom('lg'),
|
||||
@@ -228,7 +226,9 @@ class EventsTable
|
||||
->reactive()
|
||||
->afterStateUpdated(function (callable $set, $state, $livewire) {
|
||||
|
||||
User::where('id', auth()->user()->id)->update(['sport_id' => $state]);
|
||||
auth()->user()->sport_id = (int) $state;
|
||||
|
||||
User::where('id', auth()->user()->id)->update(['sport_id' => (int) $state]);
|
||||
|
||||
$livewire->dispatch('refreshBettypeMenu');
|
||||
|
||||
|
||||
Reference in new issue
Block a user