This commit is contained in:
salam committed 2026-02-24 18:31:03 +01:00
1 parent 00e045bbaf
commit 88a043c612
1 file changed
+1
@@ -48,6 +48,7 @@ class EventResource extends Resource
public static function getNavigationBadge(): ?string public static function getNavigationBadge(): ?string
{ {
return parent::getEloquentQuery() return parent::getEloquentQuery()
->where('has_markets', 1)
->where('sport_id', auth()->user()->sport_id) ->where('sport_id', auth()->user()->sport_id)
->whereDate('starttime', '>=', Carbon::now()) ->whereDate('starttime', '>=', Carbon::now())
->count(); ->count();