File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
front/src/modules/simulationResult/components/SpaceTimeChartWrapper Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ type DeployedWaypoint = {
4343 loading ?: boolean ;
4444} ;
4545
46- const NO_TRACK_SPECIFIED_ID = '__no_track_specified__' ;
4746const NO_TRACK_SPECIFIED_SYMBOL = '[ ]' ;
4847
4948// Extracts the first integer (including negative) from a string, or null if none is found
@@ -238,7 +237,7 @@ const useTrackOccupancy = ({
238237 const { local_track_name : localTrackName , trains } = trackItem ;
239238 let trackId : string ;
240239 if ( ! localTrackName ) {
241- trackId = NO_TRACK_SPECIFIED_ID ;
240+ trackId = NO_TRACK_SPECIFIED_SYMBOL ;
242241 } else {
243242 const mappedTrackId = waypointId
244243 ? localTrackNameToTrackIdRef . current . get ( waypointId ) ?. get ( localTrackName )
You can’t perform that action at this time.
0 commit comments