diff --git a/front/src/modules/simulationResult/components/SpaceTimeChart/useGetProjectedTrainOperationalPoints.ts b/front/src/modules/simulationResult/components/SpaceTimeChart/useGetProjectedTrainOperationalPoints.ts index 8450a6b3fa3..6bdbb26cf59 100644 --- a/front/src/modules/simulationResult/components/SpaceTimeChart/useGetProjectedTrainOperationalPoints.ts +++ b/front/src/modules/simulationResult/components/SpaceTimeChart/useGetProjectedTrainOperationalPoints.ts @@ -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 );