This commit is contained in:
salam committed 2026-02-16 17:25:21 +01:00
1 parent 9b16aa6df6
commit 1886b10a0b
2 files changed
+4 -1

No files matched your search

@@ -493,7 +493,8 @@ class EventsTable
}
if (auth()->user()->bookmaker_partner_differences == 1) {
$indicators[] = Indicator::make('Different events '.auth()->user()->bookmaker->name.' vs '.auth()->user()->partnerbookmaker->name)->color('info')->removable(false);
// wire:click="toggleComparePartner"
$indicators[] = Indicator::make(auth()->user()->bookmaker->name.' vs '.auth()->user()->partnerbookmaker->name)->color('info')->removable(false);
}
if ($data['filter_notes'] ?? null) {
+2
View File
@@ -152,6 +152,7 @@ class BettypeToggle extends Component
public function countBookmaker()
{
$this->bookmakerCount = EventBookmaker::where('bookmaker_id', auth()->user()->bookmaker_id)
->where('in_feed', 1)
->where('sport_id', auth()->user()->sport_id)
->count();
}
@@ -159,6 +160,7 @@ class BettypeToggle extends Component
public function countPartner()
{
$this->partnerCount = EventBookmaker::where('bookmaker_id', auth()->user()->partner_bookmaker_id)
->where('in_feed', 1)
->where('sport_id', auth()->user()->sport_id)
->count();
}