Update existing currentusers if there is one.
This commit is contained in:
parent
37c10be5e2
commit
dede7f7f2f
|
@ -24,7 +24,7 @@ export const mutations = {
|
|||
set(user, 'muted', muted)
|
||||
},
|
||||
setCurrentUser (state, user) {
|
||||
state.currentUser = user
|
||||
state.currentUser = merge(state.currentUser || {}, user)
|
||||
},
|
||||
beginLogin (state) {
|
||||
state.loggingIn = true
|
||||
|
|
Loading…
Reference in New Issue