code readability

This commit is contained in:
taehoon 2019-04-11 22:15:58 -04:00
parent bb38a43117
commit e67fecff0a
6 changed files with 22 additions and 22 deletions

View file

@ -15,15 +15,15 @@
/>
<div :label="$t('user_card.followees')" v-if="followsTabVisible" :disabled="!user.friends_count">
<FriendList :userId="userId">
<template slot="item" slot-scope="p">
<FollowCard :user="p.item" />
<template slot="item" slot-scope="{item}">
<FollowCard :user="item" />
</template>
</FriendList>
</div>
<div :label="$t('user_card.followers')" v-if="followersTabVisible" :disabled="!user.followers_count">
<FollowerList :userId="userId">
<template slot="item" slot-scope="p">
<FollowCard :user="p.item" :noFollowsYou="isUs" />
<template slot="item" slot-scope="{item}">
<FollowCard :user="item" :noFollowsYou="isUs" />
</template>
</FollowerList>
</div>