diff options
| author | taehoon <th.dev91@gmail.com> | 2019-04-04 12:12:27 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-04-17 11:32:49 -0400 |
| commit | fe7766bc618f9a994e2c0a9337deb7cce8b162cf (patch) | |
| tree | b2e8816b1e87a9dda688cebbb3ed88d963530f60 /src/components | |
| parent | d4e43e0e261c1edafe505cd448ab876d541a0474 (diff) | |
replace scope attributes by slot-scope
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/follow_requests/follow_requests.vue | 2 | ||||
| -rw-r--r-- | src/components/selectable_list/selectable_list.vue | 2 | ||||
| -rw-r--r-- | src/components/user_profile/user_profile.vue | 4 | ||||
| -rw-r--r-- | src/components/user_search/user_search.vue | 2 | ||||
| -rw-r--r-- | src/components/user_settings/user_settings.vue | 4 | ||||
| -rw-r--r-- | src/components/who_to_follow/who_to_follow.vue | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/src/components/follow_requests/follow_requests.vue b/src/components/follow_requests/follow_requests.vue index 0970713b..8b1e8f94 100644 --- a/src/components/follow_requests/follow_requests.vue +++ b/src/components/follow_requests/follow_requests.vue @@ -5,7 +5,7 @@ </div> <div class="panel-body"> <List :items="requests"> - <template slot="item" scope="p"> + <template slot="item" slot-scope="p"> <FollowRequestCard :user="p.item" /> </template> </List> diff --git a/src/components/selectable_list/selectable_list.vue b/src/components/selectable_list/selectable_list.vue index f3dd5e88..25781d06 100644 --- a/src/components/selectable_list/selectable_list.vue +++ b/src/components/selectable_list/selectable_list.vue @@ -9,7 +9,7 @@ </div> </div> <List :items="items" :getKey="getKey"> - <template slot="item" scope="p"> + <template slot="item" slot-scope="p"> <div class="selectable-list-item-inner" :class="{ 'selectable-list-item-selected-inner': isSelected(p.item) }"> <div class="selectable-list-checkbox-wrapper"> <Checkbox :checked="isSelected(p.item)" @change="checked => toggle(checked, p.item)" /> 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> diff --git a/src/components/user_search/user_search.vue b/src/components/user_search/user_search.vue index 06bfc35f..12aa4289 100644 --- a/src/components/user_search/user_search.vue +++ b/src/components/user_search/user_search.vue @@ -14,7 +14,7 @@ </div> <div v-else class="panel-body"> <List :items="users"> - <template slot="item" scope="p"> + <template slot="item" slot-scope="p"> <FollowCard :user="p.item" /> </template> </List> diff --git a/src/components/user_settings/user_settings.vue b/src/components/user_settings/user_settings.vue index 66ce6cea..e6100ced 100644 --- a/src/components/user_settings/user_settings.vue +++ b/src/components/user_settings/user_settings.vue @@ -201,7 +201,7 @@ </Autosuggest> </div> <BlockList :refresh="true" :getKey="item => item"> - <template slot="item" scope="p"> + <template slot="item" slot-scope="p"> <BlockCard :userId="p.item" /> </template> <template slot="empty">{{$t('settings.no_blocks')}}</template> @@ -215,7 +215,7 @@ </Autosuggest> </div> <MuteList :refresh="true" :getKey="item => item"> - <template slot="item" scope="p"> + <template slot="item" slot-scope="p"> <MuteCard :userId="p.item" /> </template> <template slot="empty">{{$t('settings.no_mutes')}}</template> diff --git a/src/components/who_to_follow/who_to_follow.vue b/src/components/who_to_follow/who_to_follow.vue index 4812dd81..2752d519 100644 --- a/src/components/who_to_follow/who_to_follow.vue +++ b/src/components/who_to_follow/who_to_follow.vue @@ -5,7 +5,7 @@ </div> <div class="panel-body"> <List :items="users"> - <template slot="item" scope="p"> + <template slot="item" slot-scope="p"> <FollowCard :user="p.item" /> </template> </List> |
