Fix updating the user name in settings

This commit is contained in:
kolaente 2021-04-07 21:08:09 +02:00
parent 6d83bf6f58
commit 613f990ceb
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 0 deletions

View File

@ -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