code quality
Some checks failed
CI / lint-typecheck (pull_request) Failing after 12s
CI / tests (pull_request) Has been skipped
CI / contract-tests (pull_request) Has been skipped
CI / e2e-tests (pull_request) Has been skipped
CI / comment-pr (pull_request) Has been skipped
CI / commit-types (pull_request) Has been skipped

This commit is contained in:
2026-01-26 17:22:01 +01:00
parent cfc30c79a8
commit 9ac74f5046
305 changed files with 1192 additions and 607 deletions

View File

@@ -35,12 +35,12 @@ export class LeagueStandingsViewDataBuilder {
races: standing.races,
racesFinished: standing.races,
racesStarted: standing.races,
avgFinish: null, // Not in DTO
avgFinish: 0, // Not in DTO
penaltyPoints: 0, // Not in DTO
bonusPoints: 0, // Not in DTO
leaderPoints: 0, // Not in DTO
nextPoints: 0, // Not in DTO
currentUserId: null, // Not in DTO
currentUserId: '', // Not in DTO
// New fields from Phase 3
positionChange: standing.positionChange || 0,
lastRacePoints: standing.lastRacePoints || 0,
@@ -80,7 +80,7 @@ export class LeagueStandingsViewDataBuilder {
drivers: driverData,
memberships: membershipData,
leagueId,
currentDriverId: null, // Would need to get from auth
currentDriverId: '', // Would need to get from auth
isAdmin: false, // Would need to check permissions
isTeamChampionship: isTeamChampionship,
};