aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_card/user_card.js
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-09-16 11:38:37 +0000
committerrinpatch <rinpatch@sdf.org>2019-09-16 11:38:37 +0000
commit1306fac38f46b5578d46cc6abd6168a3399886b1 (patch)
tree9e92df60075bee0285e6b34d8b433cb6065f3b3f /src/components/user_card/user_card.js
parentb33667a74342a9fc91386d12763b5c2f1101868a (diff)
parent9b163d281670e0c0a589adce46727284fbcba0ad (diff)
Merge branch 'develop' into 'muting-fixes'
# Conflicts: # src/components/status/status.js
Diffstat (limited to 'src/components/user_card/user_card.js')
-rw-r--r--src/components/user_card/user_card.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/components/user_card/user_card.js b/src/components/user_card/user_card.js
index 82d3b835..e3bd7697 100644
--- a/src/components/user_card/user_card.js
+++ b/src/components/user_card/user_card.js
@@ -11,7 +11,6 @@ export default {
data () {
return {
followRequestInProgress: false,
- followRequestSent: false,
hideUserStatsLocal: typeof this.$store.state.config.hideUserStats === 'undefined'
? this.$store.state.instance.hideUserStats
: this.$store.state.config.hideUserStats,
@@ -112,9 +111,8 @@ export default {
followUser () {
const store = this.$store
this.followRequestInProgress = true
- requestFollow(this.user, store).then(({ sent }) => {
+ requestFollow(this.user, store).then(() => {
this.followRequestInProgress = false
- this.followRequestSent = sent
})
},
unfollowUser () {