backend interactor service: implement startFetchingFollowRequest

backend interactor service: remove unused fetchFollowRequests
This commit is contained in:
kPherox 2019-11-19 14:07:15 +00:00 committed by Shpuld Shpludson
parent 377b8988b6
commit 0995658757
5 changed files with 19 additions and 8 deletions

View file

@ -1,12 +1,7 @@
import followRequestFetcher from '../../services/follow_request_fetcher/follow_request_fetcher.service'
const NavPanel = {
created () {
if (this.currentUser && this.currentUser.locked) {
const store = this.$store
const credentials = store.state.users.currentUser.credentials
followRequestFetcher.startFetching({ store, credentials })
this.$store.dispatch('startFetchingFollowRequest')
}
},
computed: {