diff --git a/front/src/modules/pathfinding/hooks/usePathfinding.ts b/front/src/modules/pathfinding/hooks/usePathfinding.ts index a85ec86ba35..d3d223cee94 100644 --- a/front/src/modules/pathfinding/hooks/usePathfinding.ts +++ b/front/src/modules/pathfinding/hooks/usePathfinding.ts @@ -135,13 +135,11 @@ const usePathfinding = ( const theoreticalMargin = i === 0 ? step.theoreticalMargin || '0%' : step.theoreticalMargin; const stopFor = i === pathStepsInput.length - 1 && !step.stopFor ? '0' : step.stopFor; - const stopType = i === pathStepsInput.length - 1 && !step.stopFor ? undefined : step.stopType; return { ...step, positionOnPath: pathResult.path_item_positions[i], stopFor, - stopType, theoreticalMargin, ...(correspondingOp && { name: correspondingOp.name, diff --git a/front/src/reducers/osrdconf/types.ts b/front/src/reducers/osrdconf/types.ts index 6df5f4f0c8b..e515a72b581 100644 --- a/front/src/reducers/osrdconf/types.ts +++ b/front/src/reducers/osrdconf/types.ts @@ -51,12 +51,8 @@ export type PathStep = PathItemLocation & { If true, the train schedule is consider as invalid and must be edited */ deleted?: boolean; arrival?: IsoDurationString | null; - arrivalType?: ArrivalTimeTypes; - arrivalToleranceBefore?: number; - arrivalToleranceAfter?: number; locked?: boolean; stopFor?: string | null; - stopType?: StdcmStopTypes; theoreticalMargin?: string; receptionSignal?: ReceptionSignal; kp?: string;