mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
be more robust when handling simulato-data-data-store
This commit is contained in:
parent
41a6f5ee30
commit
235f3e249d
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class SimulationDataStore extends ReduceStore {
|
|||
|
||||
case 'simulatorData/inputChanged':
|
||||
// find simulator in node array
|
||||
if (state[action.simulator] == null) {
|
||||
if (state[action.simulator] == null || state[action.simulator].input == null) {
|
||||
return state;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue