fixed add state

This commit is contained in:
britea 2020-04-25 19:00:39 +02:00
parent b6a27195fe
commit b73206e07a

View file

@ -296,7 +296,7 @@ function reducer(previousState, action) {
change.scenes = {
[action.sceneState.sceneId]: {
sceneStates: {
$add: [action.sceneState.id],
$add: [action.sceneState],
},
},
};
@ -304,7 +304,7 @@ function reducer(previousState, action) {
change.pendingJoins = {
scenes: {
[action.sceneState.sceneId]: {
$add: [action.sceneState.id],
$add: [action.sceneState],
},
},
};