ComparingBookmakerMenu wip

This commit is contained in:
salam committed 2026-01-20 14:50:04 +01:00
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');