updating the username has no effect in the UI (backend works)
this.$store.dispatch('users/patch', [this.user.id, { $set: { name: this.username } }])
is working so far, but it seems, that ...mapGetters({ user: 'auth/user' })
doesn't update.
- I change my username, the change is visible on the current page (name tag in the main menu drawer for example)
- after a page change: the old/previous username comes back in the drawer (user seemed not to be updated)
- BUT: while adding a video (timeline viewer) the correct (new) username was saved and is displayed in the annotationItem
- after making a refresh: the right username is displayed everywhere
Obviously `...mapGetters({ user: 'auth/user' })` is reactive, otherwise the name wouldn't update on the current page after updating the username. But I don't get it why the update has no effect on other pages?
Edited by Hansen, Christian