aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_profile/user_profile.vue
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-02-03 12:39:49 -0500
committertaehoon <th.dev91@gmail.com>2019-02-07 10:48:47 -0500
commit55fc31ea4d3ecde4693a346de51d6cf27e6d9e49 (patch)
treeb34ee5bca92793eafa2311dc02cef5e70f2b4da1 /src/components/user_profile/user_profile.vue
parentbfe2d8beaaa178223ecd7e843592907855e47793 (diff)
Hide followers and followees tabs when they are disabled
Diffstat (limited to 'src/components/user_profile/user_profile.vue')
-rw-r--r--src/components/user_profile/user_profile.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue
index 6d5b00d1..e981f208 100644
--- a/src/components/user_profile/user_profile.vue
+++ b/src/components/user_profile/user_profile.vue
@@ -15,13 +15,13 @@
:timeline-name="'user'"
:user-id="fetchBy"
/>
- <div :label="$t('user_card.followees')">
+ <div :label="$t('user_card.followees')" v-if="!user.hide_followings">
<FollowList v-if="user.friends_count > 0" :userId="userId" :showFollowers="false" />
<div class="userlist-placeholder" v-else>
<i class="icon-spin3 animate-spin"></i>
</div>
</div>
- <div :label="$t('user_card.followers')">
+ <div :label="$t('user_card.followers')" v-if="!user.hide_followers">
<FollowList v-if="user.followers_count > 0" :userId="userId" :showFollowers="true" />
<div class="userlist-placeholder" v-else>
<i class="icon-spin3 animate-spin"></i>