aboutsummaryrefslogtreecommitdiff
path: root/src/components/follow_requests/follow_requests.js
blob: 9fe4a57e190779228e748c366c4c6fea59a7c465 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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