Linting fixes.

This commit is contained in:
Roger Braun 2016-11-07 15:04:27 +01:00
parent d65112a625
commit 93eb6671c6
5 changed files with 13 additions and 14 deletions

View file

@ -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})
}
}
},