Update existing currentusers if there is one.
This commit is contained in:
parent
37c10be5e2
commit
dede7f7f2f
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue