1
0
Fork 0
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:
Steffen Vogel 2018-06-04 17:49:10 +02:00
parent 41a6f5ee30
commit 235f3e249d

View file

@ -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;
}