From 59ade4084e2d3c7d018fec57972742a628749032 Mon Sep 17 00:00:00 2001 From: shpuld Date: Tue, 9 Jul 2019 16:50:23 +0300 Subject: [PATCH] Hide favs/rts properly when hide post stats is enabled --- src/components/status/status.js | 5 +++++ src/components/status/status.vue | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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: { diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 30969256..b825d17d 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -344,7 +344,7 @@