aboutsummaryrefslogtreecommitdiff
path: root/src/components/follow_card/follow_card.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/follow_card/follow_card.js')
-rw-r--r--src/components/follow_card/follow_card.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/follow_card/follow_card.js b/src/components/follow_card/follow_card.js
index 85e6a6d2..425c9c3e 100644
--- a/src/components/follow_card/follow_card.js
+++ b/src/components/follow_card/follow_card.js
@@ -8,7 +8,7 @@ const FollowCard = {
],
data () {
return {
- progress: false,
+ inProgress: false,
requestSent: false,
updated: false
}
@@ -25,17 +25,17 @@ const FollowCard = {
},
methods: {
followUser () {
- this.progress = true
+ this.inProgress = true
requestFollow(this.user, this.$store).then(({ sent, updated }) => {
- this.progress = false
+ this.inProgress = false
this.requestSent = sent
this.updated = updated
})
},
unfollowUser () {
- this.progress = true
+ this.inProgress = true
requestUnfollow(this.user, this.$store).then(({ updated }) => {
- this.progress = false
+ this.inProgress = false
this.updated = updated
})
}