Skip to content

Commit

Permalink
front: lmr: reduce grid margins from 35s to 15s
Browse files Browse the repository at this point in the history
Signed-off-by: SarahBellaha <[email protected]>
  • Loading branch information
SarahBellaha committed Dec 10, 2024
1 parent d1826c4 commit cf356fa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ const StdcmConfig = ({

useEffect(() => {
if (!isDebugMode) {
dispatch(updateGridMarginAfter(35));
dispatch(updateGridMarginBefore(35));
dispatch(updateGridMarginAfter(15));
dispatch(updateGridMarginBefore(15));
dispatch(updateStdcmStandardAllowance({ type: 'time_per_distance', value: 4.5 }));
}
}, [isDebugMode]);
Expand Down
14 changes: 7 additions & 7 deletions front/tests/assets/stdcm/stdcmAllStops.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"code": "BC",
"endStop": "",
"passageStop": "",
"startStop": "00:56",
"startStop": "00:55",
"weight": "400t",
"refEngine": ""
},
Expand All @@ -14,7 +14,7 @@
"operationalPoint": "Mid_West_station",
"code": "BV",
"endStop": "",
"passageStop": "01:16",
"passageStop": "01:15",
"startStop": "",
"weight": "=",
"refEngine": "="
Expand All @@ -23,27 +23,27 @@
"index": 3,
"operationalPoint": "Mid_East_station",
"code": "BV",
"endStop": "01:22",
"endStop": "01:21",
"passageStop": "3 min",
"startStop": "01:25",
"startStop": "01:24",
"weight": "=",
"refEngine": "="
},
{
"index": 4,
"operationalPoint": "North_station",
"code": "BV",
"endStop": "01:33",
"endStop": "01:32",
"passageStop": "4 min",
"startStop": "01:37",
"startStop": "01:36",
"weight": "=",
"refEngine": "="
},
{
"index": 5,
"operationalPoint": "South_station",
"code": "BV",
"endStop": "01:40",
"endStop": "01:39",
"passageStop": "",
"startStop": "",
"weight": "400t",
Expand Down

0 comments on commit cf356fa

Please sign in to comment.