diff options
| author | shpuld <shp@cock.li> | 2019-07-09 16:50:23 +0300 |
|---|---|---|
| committer | shpuld <shp@cock.li> | 2019-07-09 16:50:23 +0300 |
| commit | 59ade4084e2d3c7d018fec57972742a628749032 (patch) | |
| tree | 14ddedd3b0056ce94750792ae6fa1fac9be00234 /src/components/status/status.js | |
| parent | 6b4fe1c2d9143578ccc8a6ae5774006b34002ba2 (diff) | |
Hide favs/rts properly when hide post stats is enabled
Diffstat (limited to 'src/components/status/status.js')
| -rw-r--r-- | src/components/status/status.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js index 4b3499cd..da0b9edc 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -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: { |
