Fix naming

This commit is contained in:
taehoon 2019-02-07 10:53:36 -05:00
parent fae93217b8
commit 55da7dbfde
2 changed files with 3 additions and 3 deletions

View file

@ -59,8 +59,8 @@ const UserProfile = {
isExternal () { isExternal () {
return this.$route.name === 'external-user-profile' return this.$route.name === 'external-user-profile'
}, },
followeesTabVisible () { followsTabVisible () {
return this.isUs || !this.user.hide_followings return this.isUs || !this.user.hide_follows
}, },
followersTabVisible () { followersTabVisible () {
return this.isUs || !this.user.hide_followers return this.isUs || !this.user.hide_followers

View file

@ -15,7 +15,7 @@
:timeline-name="'user'" :timeline-name="'user'"
:user-id="fetchBy" :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" /> <FollowList v-if="user.friends_count > 0" :userId="userId" :showFollowers="false" />
<div class="userlist-placeholder" v-else> <div class="userlist-placeholder" v-else>
<i class="icon-spin3 animate-spin"></i> <i class="icon-spin3 animate-spin"></i>