diff options
| author | jasper <jasper92341@hotmail.com> | 2019-02-06 10:18:13 -0800 |
|---|---|---|
| committer | jasper <jasper92341@hotmail.com> | 2019-02-06 10:18:13 -0800 |
| commit | a57f8bdd68ae52b4e5725fe0358dc8c7567c81ac (patch) | |
| tree | a504a65ce9e908ebb173189fe0b5dcc098388410 /src/components/status/status.js | |
| parent | 6a867f6ae38b4bc3981fb6ca402c196a0967c49e (diff) | |
Add option to hide filtered statuses
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 65ddcb9f..3403fd12 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -110,6 +110,11 @@ const Status = { return hits }, muted () { return !this.unmuted && (this.status.user.muted || this.muteWordHits.length > 0) }, + hideFilteredStatuses () { + return typeof this.$store.state.config.hideFilteredStatuses === 'undefined' + ? this.$store.state.instance.hideFilteredStatuses + : this.$store.state.config.hideFilteredStatuses + }, isFocused () { // retweet or root of an expanded conversation if (this.focused) { |
