diff options
| author | Shpuld Shpludson <shp@cock.li> | 2019-11-19 14:07:15 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2019-11-19 14:07:15 +0000 |
| commit | 8b3799680547fb054112446caca8fa47df5c7612 (patch) | |
| tree | 47ecda12ae4aacfc30329ac416cc6f8d0ae534a0 /src/components/nav_panel/nav_panel.js | |
| parent | 377b8988b605111cac6e1b5d6d920283b3ba812b (diff) | |
| parent | 0995658757b89eeb38b78e997bec2d85b96296af (diff) | |
Merge branch 'fix-fetch-follow-request-for-mobile' into 'develop'
Fix follow request for mobile
See merge request pleroma/pleroma-fe!1005
Diffstat (limited to 'src/components/nav_panel/nav_panel.js')
| -rw-r--r-- | src/components/nav_panel/nav_panel.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/components/nav_panel/nav_panel.js b/src/components/nav_panel/nav_panel.js index aa3f7605..7f783acb 100644 --- a/src/components/nav_panel/nav_panel.js +++ b/src/components/nav_panel/nav_panel.js @@ -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: { |
