Skip to content

Commit

Permalink
fixup! front: select op with map when add train
Browse files Browse the repository at this point in the history
  • Loading branch information
theocrsb committed Jan 7, 2025
1 parent 99d6127 commit cc55f72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions front/src/modules/pathfinding/helpers/getStepLocation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const getStepLocation = (step: PathItemLocation): PathItemLocation => {
return {
trigram: step.trigram,
secondary_code: step.secondary_code,
track_reference: trackReference,
track_reference: step.track_reference,
};
}
if (step.uic === -1) {
Expand All @@ -28,7 +28,7 @@ const getStepLocation = (step: PathItemLocation): PathItemLocation => {
return {
uic: step.uic,
secondary_code: step.secondary_code,
track_reference: trackReference,
track_reference: step.track_reference,
};
};

Expand Down

0 comments on commit cc55f72

Please sign in to comment.