From 88c56b553de483d65a68bd4bde11b7f67aba42ee Mon Sep 17 00:00:00 2001 From: notfire Date: Wed, 12 Mar 2025 16:59:58 +0100 Subject: [PATCH] fix user page not working in dev mode (thanks harper) --- src/components/user_profile/user_profile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/user_profile/user_profile.js b/src/components/user_profile/user_profile.js index eaadca72..34f5ddd7 100644 --- a/src/components/user_profile/user_profile.js +++ b/src/components/user_profile/user_profile.js @@ -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)