aboutsummaryrefslogtreecommitdiff
path: root/src/components/follow_requests
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2019-03-01 18:03:30 +0000
committerShpuld Shpludson <shp@cock.li>2019-03-01 18:03:30 +0000
commit53e104dc32080965a5a28ec37975b0c229a7d083 (patch)
tree8247646306bd1279b3464f7d3387ec12371ba94f /src/components/follow_requests
parentbbe4f3e3af54bfcb6f53bc57f66f790f4163bfb0 (diff)
parentcccf33d6ddc48038e643e651bd4cddc3355dbf18 (diff)
Merge branch 'issue-388-request-count-broken' into 'develop'
#388: get follow request on a real-time basis Closes #388 See merge request pleroma/pleroma-fe!619
Diffstat (limited to 'src/components/follow_requests')
-rw-r--r--src/components/follow_requests/follow_requests.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/components/follow_requests/follow_requests.js b/src/components/follow_requests/follow_requests.js
index d57dcbc7..704a76c6 100644
--- a/src/components/follow_requests/follow_requests.js
+++ b/src/components/follow_requests/follow_requests.js
@@ -4,19 +4,10 @@ const FollowRequests = {
components: {
FollowRequestCard
},
- created () {
- this.updateRequests()
- },
computed: {
requests () {
return this.$store.state.api.followRequests
}
- },
- methods: {
- updateRequests () {
- this.$store.state.api.backendInteractor.fetchFollowRequests()
- .then((requests) => { this.$store.commit('setFollowRequests', requests) })
- }
}
}