wip league admin tools
This commit is contained in:
@@ -10,7 +10,7 @@ export class RacingStandingFactory {
|
||||
|
||||
const racesByLeague = new Map<string, Set<string>>();
|
||||
for (const race of races) {
|
||||
if (race.status !== 'completed') continue;
|
||||
if (!race.status.isCompleted()) continue;
|
||||
|
||||
const set = racesByLeague.get(race.leagueId) ?? new Set<string>();
|
||||
set.add(race.id);
|
||||
|
||||
Reference in New Issue
Block a user