Skip to content

Commit

Permalink
front: fix results display when entering a scenario
Browse files Browse the repository at this point in the history
Signed-off-by: theocrsb <[email protected]>
  • Loading branch information
theocrsb committed Feb 26, 2025
1 parent 57034a3 commit f5db792
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,14 @@ const useSpeedSpaceChart = (
};

getPathProperties();
}, [pathProperties, infraId, rollingStock]);
}, [
infraId,
trainScheduleResult,
rollingStock,
pathfindingResult,
simulation?.status,
pathProperties,
]);

useEffect(() => {
if (trainScheduleResult && rollingStock && pathfindingResult && formattedPathProperties) {
Expand Down

0 comments on commit f5db792

Please sign in to comment.