add follow requests UI

This commit is contained in:
William Pitcock 2018-06-07 00:58:44 +00:00
parent b8d0a6a0ba
commit f3a27764aa
7 changed files with 61 additions and 3 deletions

View file

@ -0,0 +1,18 @@
import UserCard from '../user_card/user_card.vue'
const FollowRequests = {
data () {
return {
requests: []
}
},
components: {
UserCard
},
created () {
this.$store.state.api.backendInteractor.fetchFollowRequests()
.then((requests) => { this.requests = requests })
}
}
export default FollowRequests