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
This commit is contained in:
HJ 2019-07-15 21:47:45 +00:00
commit f734a72116
2 changed files with 6 additions and 1 deletions

View file

@ -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: {