Migrate UserCard to FollowCard and FollowRequestCard

This commit is contained in:
taehoon 2019-02-25 23:34:40 -05:00
parent 390b2bcfee
commit 96e7e8235d
6 changed files with 9 additions and 9 deletions

View file

@ -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()

View file

@ -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>