Combine friends/followers

This commit is contained in:
shpuld 2019-02-03 11:58:49 +02:00
parent b614cb94e5
commit 18ae7bd5f3
9 changed files with 58 additions and 107 deletions

View file

@ -16,13 +16,13 @@
:user-id="fetchBy"
/>
<div :label="$t('user_card.followees')">
<FriendsList v-if="user.friends_count > 0" :userId="userId" />
<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')">
<FollowersList v-if="user.followers_count > 0" :userId="userId" />
<FollowList v-if="user.followers_count > 0" :userId="userId" :showFollowers="true" />
<div class="userlist-placeholder" v-else>
<i class="icon-spin3 animate-spin"></i>
</div>