aboutsummaryrefslogtreecommitdiff
path: root/src/components/retweet_button/retweet_button.js
diff options
context:
space:
mode:
authorkaniini <nenolod@gmail.com>2018-10-16 14:37:32 +0000
committerkaniini <nenolod@gmail.com>2018-10-16 14:37:32 +0000
commite64af481d2f8a2ea243eeca83d7af3728fd0696b (patch)
treed281c53c0869aa37dd6d67c5c973334fda02b26a /src/components/retweet_button/retweet_button.js
parentf554edc054fcb6e0508ed5da7dc9edf1a85d2305 (diff)
parent2bb663f0f6925082087ec08c4a28ab9e661bae96 (diff)
Merge branch 'hide-statistics' into 'develop'
Add options for hiding post and user engagement statistics. See merge request pleroma/pleroma-fe!336
Diffstat (limited to 'src/components/retweet_button/retweet_button.js')
-rw-r--r--src/components/retweet_button/retweet_button.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/retweet_button/retweet_button.js b/src/components/retweet_button/retweet_button.js
index cafa9cbc..eb4e4b41 100644
--- a/src/components/retweet_button/retweet_button.js
+++ b/src/components/retweet_button/retweet_button.js
@@ -2,6 +2,9 @@ const RetweetButton = {
props: ['status', 'loggedIn', 'visibility'],
data () {
return {
+ hidePostStatsLocal: typeof this.$store.state.config.hidePostStats === 'undefined'
+ ? this.$store.state.instance.hidePostStats
+ : this.$store.state.config.hidePostStats,
animated: false
}
},