mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
Add start parameters merging
This commit is contained in:
parent
a0f260ffe6
commit
46135f92c0
1 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@ class Simulations extends Component {
|
|||
|
||||
if (model == null) {
|
||||
simulationModelIds.push(modelId);
|
||||
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -259,7 +259,7 @@ class Simulations extends Component {
|
|||
}
|
||||
|
||||
if (action.data.action === 'start') {
|
||||
action.data.parameters = this.state.simulationModels[index].startParameters;
|
||||
action.data.parameters = Object.assign({}, this.state.simulations[index].startParameters, simulationModel.startParameters);
|
||||
}
|
||||
|
||||
AppDispatcher.dispatch({
|
||||
|
|
Loading…
Add table
Reference in a new issue