aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_profile/user_profile.vue
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-04-04 12:12:27 -0400
committertaehoon <th.dev91@gmail.com>2019-04-17 11:32:49 -0400
commitfe7766bc618f9a994e2c0a9337deb7cce8b162cf (patch)
treeb2e8816b1e87a9dda688cebbb3ed88d963530f60 /src/components/user_profile/user_profile.vue
parentd4e43e0e261c1edafe505cd448ab876d541a0474 (diff)
replace scope attributes by slot-scope
Diffstat (limited to 'src/components/user_profile/user_profile.vue')
-rw-r--r--src/components/user_profile/user_profile.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue
index 8d78d2d2..e67231b6 100644
--- a/src/components/user_profile/user_profile.vue
+++ b/src/components/user_profile/user_profile.vue
@@ -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>