aboutsummaryrefslogtreecommitdiff
path: root/src/components/who_to_follow
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/who_to_follow')
-rw-r--r--src/components/who_to_follow/who_to_follow.js4
-rw-r--r--src/components/who_to_follow/who_to_follow.vue6
2 files changed, 8 insertions, 2 deletions
diff --git a/src/components/who_to_follow/who_to_follow.js b/src/components/who_to_follow/who_to_follow.js
index be0b8827..9b100334 100644
--- a/src/components/who_to_follow/who_to_follow.js
+++ b/src/components/who_to_follow/who_to_follow.js
@@ -1,9 +1,11 @@
import apiService from '../../services/api/api.service.js'
import FollowCard from '../follow_card/follow_card.vue'
+import List from '../list/list.vue'
const WhoToFollow = {
components: {
- FollowCard
+ FollowCard,
+ List
},
data () {
return {
diff --git a/src/components/who_to_follow/who_to_follow.vue b/src/components/who_to_follow/who_to_follow.vue
index 1630f5ac..4812dd81 100644
--- a/src/components/who_to_follow/who_to_follow.vue
+++ b/src/components/who_to_follow/who_to_follow.vue
@@ -4,7 +4,11 @@
{{$t('who_to_follow.who_to_follow')}}
</div>
<div class="panel-body">
- <FollowCard v-for="user in users" :key="user.id" :user="user"/>
+ <List :items="users">
+ <template slot="item" scope="p">
+ <FollowCard :user="p.item" />
+ </template>
+ </List>
</div>
</div>
</template>