Migrate UserCard to FollowCard and FollowRequestCard
This commit is contained in:
parent
390b2bcfee
commit
96e7e8235d
6 changed files with 9 additions and 9 deletions
|
@ -1,8 +1,8 @@
|
|||
import UserCard from '../user_card/user_card.vue'
|
||||
import FollowRequestCard from '../follow_request_card/follow_request_card.vue'
|
||||
|
||||
const FollowRequests = {
|
||||
components: {
|
||||
UserCard
|
||||
FollowRequestCard
|
||||
},
|
||||
created () {
|
||||
this.updateRequests()
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{{$t('nav.friend_requests')}}
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<user-card v-for="request in requests" :key="request.id" :user="request" :showApproval="true"></user-card>
|
||||
<FollowRequestCard v-for="request in requests" :key="request.id" :user="request"/>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue