wip league admin tools
This commit is contained in:
@@ -11,8 +11,8 @@ export class RacingFeedFactory {
|
||||
const items: FeedItem[] = [];
|
||||
const friendMap = new Map(friendships.map((f) => [`${f.driverId}:${f.friendId}`, true] as const));
|
||||
|
||||
const completedRace = races.find((r) => r.status === 'completed');
|
||||
const upcomingRace = races.find((r) => r.status === 'scheduled');
|
||||
const completedRace = races.find((r) => r.status.toString() === 'completed');
|
||||
const upcomingRace = races.find((r) => r.status.toString() === 'scheduled');
|
||||
const league = leagues.find((l) => l.id.toString() === 'league-5') ?? leagues[0]!;
|
||||
|
||||
const now = this.addMinutes(this.baseDate, 10);
|
||||
|
||||
Reference in New Issue
Block a user