diff --git a/src/app/components/player-registrations/player-registrations.component.html b/src/app/components/player-registrations/player-registrations.component.html index e93c341..b89cab2 100644 --- a/src/app/components/player-registrations/player-registrations.component.html +++ b/src/app/components/player-registrations/player-registrations.component.html @@ -51,8 +51,8 @@ } @if (!this.showAll) { } diff --git a/src/app/components/player-registrations/player-registrations.component.ts b/src/app/components/player-registrations/player-registrations.component.ts index 94920a8..e3b7fdf 100644 --- a/src/app/components/player-registrations/player-registrations.component.ts +++ b/src/app/components/player-registrations/player-registrations.component.ts @@ -112,7 +112,7 @@ export class PlayerRegistrationsComponent implements OnInit { if (this.showAll) { return this.tournamentRegistrations; } else { - return this.tournamentRegistrations.filter(t => (t.status == 'UPCOMING' || t.status == 'ONGOING')); + return this.tournamentRegistrations.filter(t => t.active); } }