diff options
| author | lain <lain@soykaf.club> | 2020-01-21 16:51:49 +0100 |
|---|---|---|
| committer | lain <lain@soykaf.club> | 2020-01-21 16:51:49 +0100 |
| commit | 8080981fcdaab4efd07c2c3f4ff3e2131f8aa802 (patch) | |
| tree | 50f71c9663ab5d9f39ec17abc2810d5e23d88789 /src/components | |
| parent | f052ac4a1e59685332bf3798ce3978d6304816d8 (diff) | |
Fix follower request fetching
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/nav_panel/nav_panel.js | 2 | ||||
| -rw-r--r-- | src/components/side_drawer/side_drawer.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/nav_panel/nav_panel.js b/src/components/nav_panel/nav_panel.js index d9268585..8f7edb7f 100644 --- a/src/components/nav_panel/nav_panel.js +++ b/src/components/nav_panel/nav_panel.js @@ -3,7 +3,7 @@ import { mapState } from 'vuex' const NavPanel = { created () { if (this.currentUser && this.currentUser.locked) { - this.$store.dispatch('startFetchingFollowRequest') + this.$store.dispatch('startFetchingFollowRequests') } }, computed: mapState({ diff --git a/src/components/side_drawer/side_drawer.js b/src/components/side_drawer/side_drawer.js index 2534eb8f..2181ecc7 100644 --- a/src/components/side_drawer/side_drawer.js +++ b/src/components/side_drawer/side_drawer.js @@ -12,7 +12,7 @@ const SideDrawer = { this.closeGesture = GestureService.swipeGesture(GestureService.DIRECTION_LEFT, this.toggleDrawer) if (this.currentUser && this.currentUser.locked) { - this.$store.dispatch('startFetchingFollowRequest') + this.$store.dispatch('startFetchingFollowRequests') } }, components: { UserCard }, |
