diff options
| author | Shpuld Shpludson <shp@cock.li> | 2019-02-04 17:54:48 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2019-02-04 17:54:48 +0000 |
| commit | 8c8eb99d73aacd38781da2e6b151c9b76c1639a2 (patch) | |
| tree | 7533728f9f115f877806694960dcaeb48d28dbd7 /src/components/user_profile/user_profile.vue | |
| parent | 3cd1deb133926281920f10c1ddd6eb694c09f44d (diff) | |
| parent | 54e7e0e31babbfb0c4ebc2e1a73012e1b1890231 (diff) | |
Merge branch 'feat/follows-following-pagination' into 'develop'
Follows + followers pagination #285
See merge request pleroma/pleroma-fe!510
Diffstat (limited to 'src/components/user_profile/user_profile.vue')
| -rw-r--r-- | src/components/user_profile/user_profile.vue | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue index e53ce4cc..6d5b00d1 100644 --- a/src/components/user_profile/user_profile.vue +++ b/src/components/user_profile/user_profile.vue @@ -16,27 +16,13 @@ :user-id="fetchBy" /> <div :label="$t('user_card.followees')"> - <div v-if="friends"> - <user-card - v-for="friend in friends" - :key="friend.id" - :user="friend" - :showFollows="true" - /> - </div> + <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 v-if="followers"> - <user-card - v-for="follower in followers" - :key="follower.id" - :user="follower" - :showFollows="false" - /> - </div> + <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> |
