diff options
Diffstat (limited to 'src/components/user_profile')
| -rw-r--r-- | src/components/user_profile/user_profile.js | 6 | ||||
| -rw-r--r-- | src/components/user_profile/user_profile.vue | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/src/components/user_profile/user_profile.js b/src/components/user_profile/user_profile.js index 0361d253..7b0ab705 100644 --- a/src/components/user_profile/user_profile.js +++ b/src/components/user_profile/user_profile.js @@ -1,8 +1,7 @@ import UserCardContent from '../user_card_content/user_card_content.vue' import UserCard from '../user_card/user_card.vue' import Timeline from '../timeline/timeline.vue' -import FriendsList from '../friends_list/friends_list.vue' -import FollowersList from '../followers_list/followers_list.vue' +import FollowList from '../follow_list/follow_list.vue' const UserProfile = { created () { @@ -102,8 +101,7 @@ const UserProfile = { UserCardContent, UserCard, Timeline, - FriendsList, - FollowersList + FollowList } } diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue index c431c729..6d5b00d1 100644 --- a/src/components/user_profile/user_profile.vue +++ b/src/components/user_profile/user_profile.vue @@ -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> |
