recover border between basic-user-card using list component
This commit is contained in:
parent
f066ccd28b
commit
ca26776b4e
6 changed files with 24 additions and 6 deletions
|
@ -1,8 +1,10 @@
|
|||
import FollowRequestCard from '../follow_request_card/follow_request_card.vue'
|
||||
import List from '../list/list.vue'
|
||||
|
||||
const FollowRequests = {
|
||||
components: {
|
||||
FollowRequestCard
|
||||
FollowRequestCard,
|
||||
List
|
||||
},
|
||||
computed: {
|
||||
requests () {
|
||||
|
|
|
@ -4,7 +4,11 @@
|
|||
{{$t('nav.friend_requests')}}
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<FollowRequestCard v-for="request in requests" :key="request.id" :user="request"/>
|
||||
<List :items="requests">
|
||||
<template slot="item" scope="p">
|
||||
<FollowRequestCard :user="p.item" />
|
||||
</template>
|
||||
</List>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue