Linting fixes.
This commit is contained in:
parent
d65112a625
commit
93eb6671c6
5 changed files with 13 additions and 14 deletions
|
@ -3,9 +3,9 @@ const FavoriteButton = {
|
|||
methods: {
|
||||
favorite () {
|
||||
if (!this.status.favorited) {
|
||||
this.$store.dispatch('favorite', { id: this.status.id})
|
||||
this.$store.dispatch('favorite', {id: this.status.id})
|
||||
} else {
|
||||
this.$store.dispatch('unfavorite', { id: this.status.id})
|
||||
this.$store.dispatch('unfavorite', {id: this.status.id})
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue