change icon
This commit is contained in:
parent
541a71c3a5
commit
7fede8572d
2 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue