Commit f734a721 authored by HJ's avatar HJ 🐼

Merge branch 'fix/respect-hide-post-stats' into 'develop'

Hide favs/rts properly when hide post stats is enabled

See merge request pleroma/pleroma-fe!877
parents e86f6edb 59ade408
......@@ -280,6 +280,11 @@ const Status = {
},
tags () {
return this.status.tags.filter(tagObj => tagObj.hasOwnProperty('name')).map(tagObj => tagObj.name).join(' ')
},
hidePostStats () {
return typeof this.$store.state.config.hidePostStats === 'undefined'
? this.$store.state.instance.hidePostStats
: this.$store.state.config.hidePostStats
}
},
components: {
......
......@@ -344,7 +344,7 @@
<transition name="fade">
<div
v-if="isFocused && combinedFavsAndRepeatsUsers.length > 0"
v-if="!hidePostStats && isFocused && combinedFavsAndRepeatsUsers.length > 0"
class="favs-repeated-users"
>
<div class="stats">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment