replace scope attributes by slot-scope

This commit is contained in:
taehoon 2019-04-04 12:12:27 -04:00
parent d4e43e0e26
commit fe7766bc61
6 changed files with 8 additions and 8 deletions

View file

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