aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_profile/user_profile.vue
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-04-11 22:15:58 -0400
committertaehoon <th.dev91@gmail.com>2019-04-17 11:32:49 -0400
commite67fecff0a5e8c0034b860b8a7a625e35c03b5a3 (patch)
treea1715eb94235f1da0e6c6c4a08dec0529bce542e /src/components/user_profile/user_profile.vue
parentbb38a4311796c7d3c40e63585544c744a44402c1 (diff)
code readability
Diffstat (limited to 'src/components/user_profile/user_profile.vue')
-rw-r--r--src/components/user_profile/user_profile.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue
index e67231b6..71c625b7 100644
--- a/src/components/user_profile/user_profile.vue
+++ b/src/components/user_profile/user_profile.vue
@@ -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>