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
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:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user