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