mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
fix for sending of data to IC
This commit is contained in:
parent
209649ead8
commit
ec99815eb1
1 changed files with 4 additions and 1 deletions
|
@ -111,8 +111,11 @@ class ICDataStore extends ReduceStore {
|
|||
state[action.ic].input.sequence++;
|
||||
state[action.ic].input.values[action.signal-1] = action.data;
|
||||
|
||||
ICDataDataManager.send(state[action.ic].input, action.ic);
|
||||
// copy of state needed because changes are not yet propagated
|
||||
let input = JSON.parse(JSON.stringify(state[action.ic].input));
|
||||
ICDataDataManager.send(input, action.ic);
|
||||
|
||||
this.__emitChange();
|
||||
return state;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Add table
Reference in a new issue