From 63088deb2e75a53c255a2774b2596d29f34d01db Mon Sep 17 00:00:00 2001 From: lain Date: Tue, 30 Jun 2020 15:23:40 +0200 Subject: [PATCH] User Profile: Reduxify --- src/components/follow_card/follow_card.js | 2 +- src/components/user_profile/user_profile.vue | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/follow_card/follow_card.js b/src/components/follow_card/follow_card.js index 6dcb6d47..37a31b52 100644 --- a/src/components/follow_card/follow_card.js +++ b/src/components/follow_card/follow_card.js @@ -14,7 +14,7 @@ const FollowCard = { }, computed: { isMe () { - return this.$store.state.users.currentUser.id === this.user.id + return this.$store.state.users.currentUser.id === this.user.redux.id }, loggedIn () { return this.$store.state.users.currentUser diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue index 361a3b5c..51c906cc 100644 --- a/src/components/user_profile/user_profile.vue +++ b/src/components/user_profile/user_profile.vue @@ -12,23 +12,23 @@ rounded="top" />