diff --git a/src/components/account_actions/account_actions.vue b/src/components/account_actions/account_actions.vue index 5786a502..e62ec359 100644 --- a/src/components/account_actions/account_actions.vue +++ b/src/components/account_actions/account_actions.vue @@ -64,7 +64,7 @@
- +
diff --git a/src/components/follow_button/follow_button.js b/src/components/follow_button/follow_button.js index 708d15a2..4123c9fd 100644 --- a/src/components/follow_button/follow_button.js +++ b/src/components/follow_button/follow_button.js @@ -33,11 +33,7 @@ export default { }, methods: { onClick () { - if (this.user.following) { - this.unfollow() - } else { - this.follow() - } + this.user.following ? this.unfollow() : this.follow() }, follow () { this.inProgress = true