diff options
| author | dave <starpumadev@gmail.com> | 2019-02-27 14:38:10 -0500 |
|---|---|---|
| committer | dave <starpumadev@gmail.com> | 2019-02-27 14:38:10 -0500 |
| commit | 7c6446a9dea2a221da643414e87a97d17336215f (patch) | |
| tree | 54e6dc674b03cd934b065b95275797f261b59f4b /src/components/follow_requests/follow_requests.js | |
| parent | 058238c3c631520d052327fcab47c997dfe23151 (diff) | |
#388: get follow request on a real-time basis
Diffstat (limited to 'src/components/follow_requests/follow_requests.js')
| -rw-r--r-- | src/components/follow_requests/follow_requests.js | 9 |
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 11a228aa..bf890530 100644 --- a/src/components/follow_requests/follow_requests.js +++ b/src/components/follow_requests/follow_requests.js @@ -4,19 +4,10 @@ const FollowRequests = { components: { UserCard }, - 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) }) - } } } |
