diff --git a/src/components/user_profile/user_profile.js b/src/components/user_profile/user_profile.js index dd91b8cc9..045a9346f 100644 --- a/src/components/user_profile/user_profile.js +++ b/src/components/user_profile/user_profile.js @@ -51,8 +51,7 @@ const UserProfile = { isUs() { return ( this.userId && - useUsersStore().currentUser.id && - this.userId === useUsersStore().currentUser.id + this.userId === useUsersStore().currentUser?.id ) }, user() {