aboutsummaryrefslogtreecommitdiff
path: root/src/components/who_to_follow
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-04-16 23:29:11 -0400
committertaehoon <th.dev91@gmail.com>2019-04-17 11:32:49 -0400
commitde945e5f88919fe27f4cb16735d6d91a26ec95c9 (patch)
tree5f0e98e28aad68e9dfda6602cab7965fbc496beb /src/components/who_to_follow
parentbd88a481c66ae3dd8f95652fe467fe5fd919b810 (diff)
Revert "recover border between basic-user-card using list component"
This reverts commit 1d56d486f1f679e793e710969ad54cce5fdb1ebc. # Conflicts: # src/components/follow_requests/follow_requests.vue # src/components/user_search/user_search.vue # src/components/who_to_follow/who_to_follow.vue
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, 2 insertions, 8 deletions
diff --git a/src/components/who_to_follow/who_to_follow.js b/src/components/who_to_follow/who_to_follow.js
index 9b100334..be0b8827 100644
--- a/src/components/who_to_follow/who_to_follow.js
+++ b/src/components/who_to_follow/who_to_follow.js
@@ -1,11 +1,9 @@
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,
- List
+ FollowCard
},
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 412a2fbe..8bc9a728 100644
--- a/src/components/who_to_follow/who_to_follow.vue
+++ b/src/components/who_to_follow/who_to_follow.vue
@@ -4,11 +4,7 @@
{{$t('who_to_follow.who_to_follow')}}
</div>
<div class="panel-body">
- <List :items="users">
- <template slot="item" slot-scope="{item}">
- <FollowCard :user="item" />
- </template>
- </List>
+ <FollowCard v-for="user in users" :key="user.id" :user="user" class="list-item"/>
</div>
</div>
</template>