fix user page not working in dev mode (thanks harper)
This commit is contained in:
parent
75950c670c
commit
88c56b553d
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ const UserProfile = {
|
|||
const user = this.$store.getters.findUser(userNameOrId)
|
||||
if (user) {
|
||||
loadById(user.id)
|
||||
this.note = user.relationship.note
|
||||
this.note = user?.relationship?.note
|
||||
this.$store.dispatch('setDisplayBackground', user.background_image)
|
||||
} else {
|
||||
this.$store.dispatch('fetchUser', userNameOrId)
|
||||
|
|
Loading…
Add table
Reference in a new issue