Fix passing validation wiring in timing leaderboard
This commit is contained in:
@@ -79,7 +79,7 @@ const getCompetitorElapsedMs = (session, row) => getCompetitorElapsedMsLogic(ses
|
||||
const getCompetitorPassings = (session, row, options = {}) => getCompetitorPassingsLogic(session, row, options, { ensureSessionResult, isCountedPassing });
|
||||
const getCompetitorSeedMetric = (session, row) => getCompetitorSeedMetricLogic(session, row, { getCompetitorPassings });
|
||||
const getSessionEntrants = (session) => getSessionEntrantsLogic(session, { state, getEventDrivers });
|
||||
const buildLeaderboard = (session) => buildLeaderboardLogic(session, { ensureSessionResult, getSessionTargetMs, getCompetitorPassings, isCountedPassing, getCompetitorElapsedMs, getCompetitorSeedMetric, getSessionLapWindow, formatSeedMetric, formatRaceClock, formatLeaderboardGap, formatLapDelta, formatLap, t });
|
||||
const buildLeaderboard = (session) => buildLeaderboardLogic(session, { ensureSessionResult, getSessionTargetMs, getCompetitorPassings, isCountedPassing, getCompetitorElapsedMs, getCompetitorSeedMetric, getSessionLapWindow, getPassingValidationLabel, formatSeedMetric, formatRaceClock, formatLeaderboardGap, formatLapDelta, formatLap, t });
|
||||
const buildPracticeStandings = (event) => buildPracticeStandingsLogic(event, { getSessionsForEvent, buildLeaderboard, getCompetitorSeedMetric, formatSeedMetric, formatRaceClock });
|
||||
const getQualifyingPointsValue = (place, fieldSize, tableType) => getQualifyingPointsValueLogic(place, fieldSize, tableType);
|
||||
const isHighPointsTable = (tableType) => isHighPointsTableLogic(tableType);
|
||||
|
||||
@@ -111,7 +111,7 @@ export function ensureSessionResult(sessionId, { state }) {
|
||||
|
||||
|
||||
|
||||
export function buildLeaderboard(session, { ensureSessionResult, getSessionTargetMs, getCompetitorPassings, isCountedPassing, getCompetitorElapsedMs, getCompetitorSeedMetric, getSessionLapWindow, formatSeedMetric, formatRaceClock, formatLeaderboardGap, formatLapDelta, formatLap, t }) {
|
||||
export function buildLeaderboard(session, { ensureSessionResult, getSessionTargetMs, getCompetitorPassings, isCountedPassing, getCompetitorElapsedMs, getCompetitorSeedMetric, getSessionLapWindow, getPassingValidationLabel, formatSeedMetric, formatRaceClock, formatLeaderboardGap, formatLapDelta, formatLap, t }) {
|
||||
const result = ensureSessionResult(session.id);
|
||||
const sessionType = String(session.type || "").toLowerCase();
|
||||
const targetMs = getSessionTargetMs(session);
|
||||
|
||||
Reference in New Issue
Block a user