aboutsummaryrefslogtreecommitdiff
path: root/src/components/retweet_button
diff options
context:
space:
mode:
authorscarlett <nia@netbsd.org>2018-10-16 14:09:29 +0100
committerscarlett <nia@netbsd.org>2018-10-16 14:09:29 +0100
commit4cc1ed6171b7fc0e8dc793fbb80e0a63cf83ec40 (patch)
treea740845efd742f1a9f1b1a1f0543d996fcb923c2 /src/components/retweet_button
parent145929207ef9204066b03ab104284168a054b5f0 (diff)
parentf554edc054fcb6e0508ed5da7dc9edf1a85d2305 (diff)
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into hide-statistics
Diffstat (limited to 'src/components/retweet_button')
-rw-r--r--src/components/retweet_button/retweet_button.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/retweet_button/retweet_button.js b/src/components/retweet_button/retweet_button.js
index ef2f271a..1527afc8 100644
--- a/src/components/retweet_button/retweet_button.js
+++ b/src/components/retweet_button/retweet_button.js
@@ -2,7 +2,9 @@ const RetweetButton = {
props: ['status', 'loggedIn', 'visibility'],
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
}
},