Skip to content

Commit

Permalink
front: fix scenario explorer update stdcm environment
Browse files Browse the repository at this point in the history
Selecting a new scenario in debug interface no longer removes the work schedule group id.

Now also uses the electrical profile set from the scenario
  • Loading branch information
anisometropie committed Oct 23, 2024
1 parent 3b77ef5 commit 083ba00
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ const ScenarioExplorer = ({
updateStdcmEnvironment({
infraID: scenario.infra_id,
timetableID: scenario.timetable_id,
electricalProfileSetId: undefined,
workScheduleGroupId: undefined,
electricalProfileSetId: scenario.electrical_profile_set_id,
searchDatetimeWindow: scenarioDateTimeWindow,
})
);
Expand Down

0 comments on commit 083ba00

Please sign in to comment.