aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2019-10-08 16:55:36 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2019-10-08 17:32:58 +0300
commit7fede8572d9b67060ed5b12b5f6df257233da8bd (patch)
treed45723e1ace5bef1b17c85aafd1286ecd665f74f
parent541a71c3a561e74d273c0b210bde70f4e0b31681 (diff)
change icon
-rw-r--r--src/components/account_actions/account_actions.vue2
-rw-r--r--src/components/follow_button/follow_button.js6
2 files changed, 2 insertions, 6 deletions
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 @@
</div>
</div>
<div class="btn btn-default ellipsis-button">
- <i class="icon-link-ext trigger-button" />
+ <i class="icon-menu trigger-button" />
</div>
</v-popover>
</div>
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