diff options
author | Marco <marcoambrosini@icloud.com> | 2023-01-24 17:43:11 +0000 |
---|---|---|
committer | Marco <marcoambrosini@icloud.com> | 2023-01-24 17:47:49 +0000 |
commit | 363ad43af772def06212348bae20761835f38b99 (patch) | |
tree | a2bfd0934be3947ea5b476b1b010d6ab1f309143 | |
parent | d4649775ab4ed5b2970a46edbbf7c553d9f9ba89 (diff) |
Fix breakout rooms store methods
Signed-off-by: Marco <marcoambrosini@icloud.com>
-rw-r--r-- | src/store/breakoutRoomsStore.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/store/breakoutRoomsStore.js b/src/store/breakoutRoomsStore.js index 8f54dbd7b..e19661e1a 100644 --- a/src/store/breakoutRoomsStore.js +++ b/src/store/breakoutRoomsStore.js @@ -35,16 +35,16 @@ const state = { const getters = { breakoutRoomsReferences: (state) => (token) => { - return state[token] + return state.breakoutRoomsReferences[token] }, } const mutations = { addBreakoutRoomsReferences(state, { token, breakoutRoomsReferences }) { - if (!state[token]) { - state[token] = [] + if (!state.breakoutRoomsReferences[token]) { + state.breakoutRoomsReferences[token] = [] } - set(state, token, breakoutRoomsReferences) + set(state.breakoutRoomsReferences, token, breakoutRoomsReferences) }, } |