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
This commit is contained in:
parent
bd88a481c6
commit
de945e5f88
6 changed files with 6 additions and 24 deletions
|
@ -1,10 +1,8 @@
|
|||
import FollowCard from '../follow_card/follow_card.vue'
|
||||
import List from '../list/list.vue'
|
||||
import userSearchApi from '../../services/new_api/user_search.js'
|
||||
const userSearch = {
|
||||
components: {
|
||||
FollowCard,
|
||||
List
|
||||
FollowCard
|
||||
},
|
||||
props: [
|
||||
'query'
|
||||
|
|
|
@ -13,11 +13,7 @@
|
|||
<i class="icon-spin3 animate-spin"/>
|
||||
</div>
|
||||
<div v-else 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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue