This commit is contained in:
salam committed 2026-02-27 17:04:40 +01:00
1 parent 0a32a32ba0
commit 734de27f9b
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -167,7 +167,7 @@ class BettypeToggle extends Component
->count();
}
public function toggleBookmakerPartnerDiffrences()
public function toggleBookmakerPartnerDifferences()
{
User::where('id', auth()->user()->id)->update(['bookmaker_partner_differences' => DB::raw('!bookmaker_partner_differences')]);
@@ -23,8 +23,8 @@
@role('partner_porgramm')
<div class="flex flex-row gap-2">
<x-filament::button size="xs" wire:poll.20s="setDifferences" :color="auth()->user()->bookmaker_partner_differences ? 'primary' : 'gray'"
wire:click="toggleBookmakerPartnerDiffrences"
<x-filament::button size="xs" wire:poll.20s="countBookmaker" :color="auth()->user()->bookmaker_partner_differences ? 'primary' : 'gray'"
wire:click="toggleBookmakerPartnerDifferences"
tooltip="{{ auth()->user()->bookmaker->name .
' ' .
$this->bookmakerCount .