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) {
|
setUserSettings(state, settings) {
|
||||||
state.settings = settings
|
state.settings = settings
|
||||||
|
const info = state.info !== null ? state.info : {}
|
||||||
|
info.name = settings.name
|
||||||
|
state.info = info
|
||||||
},
|
},
|
||||||
authenticated(state, authenticated) {
|
authenticated(state, authenticated) {
|
||||||
state.authenticated = authenticated
|
state.authenticated = authenticated
|
||||||
|
|
Loading…
Reference in a new issue