Skip to content

Commit 760cf27

Browse files
front: force apply space occupation rect on eco
1 parent acea273 commit 760cf27

File tree

1 file changed

+1
-1
lines changed
  • front/src/modules/simulationResult/components/SpaceTimeChart

1 file changed

+1
-1
lines changed

front/src/modules/simulationResult/components/SpaceTimeChart/drawTrain.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export default function drawTrain(
109109
: undefined;
110110

111111
if (direction && currentAllowanceSettings) {
112-
if (trainToDraw.eco_routeAspects && currentAllowanceSettings?.ecoBlocks) {
112+
if (trainToDraw.eco_routeAspects) {
113113
// Let's draw eco_route_aspects
114114
trainToDraw.eco_routeAspects.forEach((ecoRouteAspect) => {
115115
drawRect(

0 commit comments

Comments
 (0)