diff --git a/app/Filament/Resources/Events/Tables/EventsTable.php b/app/Filament/Resources/Events/Tables/EventsTable.php index 1d4c1aa4..4a0b38a4 100644 --- a/app/Filament/Resources/Events/Tables/EventsTable.php +++ b/app/Filament/Resources/Events/Tables/EventsTable.php @@ -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) { diff --git a/app/Livewire/BettypeToggle.php b/app/Livewire/BettypeToggle.php index 44faa3ed..3bf5c4cf 100644 --- a/app/Livewire/BettypeToggle.php +++ b/app/Livewire/BettypeToggle.php @@ -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(); }