diff options
Diffstat (limited to 'src/components/favorite_button/favorite_button.js')
| -rw-r--r-- | src/components/favorite_button/favorite_button.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/favorite_button/favorite_button.js b/src/components/favorite_button/favorite_button.js index 80893719..1621341e 100644 --- a/src/components/favorite_button/favorite_button.js +++ b/src/components/favorite_button/favorite_button.js @@ -2,7 +2,9 @@ const FavoriteButton = { props: ['status', 'loggedIn'], data () { return { - hidePostStatsLocal: this.$store.state.config.hidePostStats, + hidePostStatsLocal: typeof this.$store.state.config.hidePostStats == 'undefined' + ? this.$store.state.instance.hidePostStats + : this.$store.state.config.hidePostStats, animated: false } }, |
