aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-02-07 10:53:36 -0500
committertaehoon <th.dev91@gmail.com>2019-02-07 10:53:36 -0500
commit55da7dbfde84aa78ab54efe51b41d9f09646ed03 (patch)
tree0fa5e80f6c6182f6002e542e0df155b61b7773c4 /src
parentfae93217b8b23b8042eaba2e5d1a076a0cec5cc8 (diff)
Fix naming
Diffstat (limited to 'src')
-rw-r--r--src/components/user_profile/user_profile.js4
-rw-r--r--src/components/user_profile/user_profile.vue2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/components/user_profile/user_profile.js b/src/components/user_profile/user_profile.js
index 4039fd35..e50048fa 100644
--- a/src/components/user_profile/user_profile.js
+++ b/src/components/user_profile/user_profile.js
@@ -59,8 +59,8 @@ const UserProfile = {
isExternal () {
return this.$route.name === 'external-user-profile'
},
- followeesTabVisible () {
- return this.isUs || !this.user.hide_followings
+ followsTabVisible () {
+ return this.isUs || !this.user.hide_follows
},
followersTabVisible () {
return this.isUs || !this.user.hide_followers
diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue
index 11943660..9001ed00 100644
--- a/src/components/user_profile/user_profile.vue
+++ b/src/components/user_profile/user_profile.vue
@@ -15,7 +15,7 @@
:timeline-name="'user'"
:user-id="fetchBy"
/>
- <div :label="$t('user_card.followees')" v-if="followeesTabVisible">
+ <div :label="$t('user_card.followees')" v-if="followsTabVisible">
<FollowList v-if="user.friends_count > 0" :userId="userId" :showFollowers="false" />
<div class="userlist-placeholder" v-else>
<i class="icon-spin3 animate-spin"></i>