mirror of
https://git.notfire.cc/notfire/akkoma-fe.git
synced 2026-01-11 13:33:24 -08:00
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
Add a link
Reference in a new issue