mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
do not clear simulator-data-data-store after opening ws connection
This commit is contained in:
parent
cd8f27575e
commit
41a6f5ee30
1 changed files with 3 additions and 1 deletions
|
@ -39,7 +39,9 @@ class SimulationDataStore extends ReduceStore {
|
|||
switch (action.type) {
|
||||
case 'simulatorData/opened':
|
||||
// create entry for simulator
|
||||
state[action.id] = {};
|
||||
if (state[action.id] === undefined)
|
||||
state[action.id] = {};
|
||||
|
||||
return state;
|
||||
|
||||
case 'simulatorData/prepare':
|
||||
|
|
Loading…
Add table
Reference in a new issue