diff options
| author | Roger Braun <roger@rogerbraun.net> | 2016-11-07 15:04:27 +0100 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2016-11-07 15:04:27 +0100 |
| commit | 93eb6671c6cfa2bf107faf37d4461ede7f3524a3 (patch) | |
| tree | 5c214b20666d725c72bf52ba2b374a52f1c4ffc8 /src/components/favorite_button/favorite_button.js | |
| parent | d65112a62557c56e6959d85403b978d919d81496 (diff) | |
Linting fixes.
Diffstat (limited to 'src/components/favorite_button/favorite_button.js')
| -rw-r--r-- | src/components/favorite_button/favorite_button.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/favorite_button/favorite_button.js b/src/components/favorite_button/favorite_button.js index 0a8843ea..4ee3890f 100644 --- a/src/components/favorite_button/favorite_button.js +++ b/src/components/favorite_button/favorite_button.js @@ -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}) } } }, |
