Open achrafmohye opened 1 week ago
:warning: Please install the to ensure uploads and comments are reliably processed by Codecov.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 87.49%. Comparing base (
67d4eb3
) to head (d45469f
). Report is 3 commits behind head on dev.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Seems like the TypeScript build is failing!
[front] | ERROR(TypeScript) Property 'ch' does not exist on type '{ secondary_code?: string | null | undefined; uic: number; } & { deleted?: boolean | undefined; id: string; }'.
[front] | FILE /app/src/applications/operationalStudies/hooks.ts:120:94
[front] |
[front] | 118 | const correspondingOp = suggestedOperationalPoints.find(
[front] | 119 | (suggestedOp) =>
[front] | > 120 | 'uic' in step && suggestedOp.uic === step.uic && suggestedOp.ch === step.ch
[front] | | ^^
[front] | 121 | );
[front] | 122 |
[front] | 123 | const correspondingSchedule = trainSchedule.schedule?.find(
[front] |
[front] | ERROR(TypeScript) Type 'number | undefined' is not assignable to type 'number'.
[front] | Type 'undefined' is not assignable to type 'number'.
[front] | FILE /app/src/applications/operationalStudies/views/v2/ScenarioV2.tsx:313:42
[front] |
[front] | 311 | displayTrainScheduleManagement === MANAGE_TRAIN_SCHEDULE_TYPES.edit) && (
[front] | 312 | <div className="scenario-managetrainschedule">
[front] | > 313 | <ManageTrainScheduleV2 trainIdToEdit={trainIdToEdit} />
[front] | | ^^^^^^^^^^^^^
[front] | 314 | </div>
[front] | 315 | )}
[front] | 316 | {displayTrainScheduleManagement === MANAGE_TRAIN_SCHEDULE_TYPES.import && (
[front] |
[front] | [TypeScript] Found 2 errors. Watching for file changes.
It seems like the names of the waypoints are missing when editing:
Same for the rolling stock:
Closes #7488