Skip to content

Commit

Permalink
fixup! front: fix displayed op on manchette
Browse files Browse the repository at this point in the history
  • Loading branch information
Akctarus committed Jan 20, 2025
1 parent ebbe1de commit 5faac45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const useGetProjectedTrainOperationalPoints = (
>;
} else {
// If the manchette hasn't been saved, we want to display by default only
// the waypoints with CH BV/00/'' and the ones added by map click
// the waypoints with CH BV/00/'' and the path steps (origin, destination, vias)
operationalPointsWithUniqueIds = operationalPointsWithUniqueIds.filter((op) =>
op.extensions?.sncf ? isStation(op.extensions.sncf.ch) || op.weight === 100 : true
);
Expand Down

0 comments on commit 5faac45

Please sign in to comment.