Fix updating the user name in settings
This commit is contained in:
parent
6d83bf6f58
commit
613f990ceb
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ export default {
|
|||
},
|
||||
setUserSettings(state, settings) {
|
||||
state.settings = settings
|
||||
const info = state.info !== null ? state.info : {}
|
||||
info.name = settings.name
|
||||
state.info = info
|
||||
},
|
||||
authenticated(state, authenticated) {
|
||||
state.authenticated = authenticated
|
||||
|
|
Loading…
Reference in a new issue