aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.js
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-02-23 00:04:47 +0100
committerRoger Braun <roger@rogerbraun.net>2017-02-23 00:04:47 +0100
commit7c0f3ea666a866a3bb1f2e8da161ae69901e519b (patch)
treef7343bf4f875aa64b9a597aefffc9e2f2cc270c9 /src/components/status/status.js
parent0e1ab69c33f155865adc27d940a2542ffdcec30a (diff)
Add setting to hide all attachments.
Diffstat (limited to 'src/components/status/status.js')
-rw-r--r--src/components/status/status.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index 46add8aa..22292ffa 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -17,6 +17,7 @@ const Status = {
userExpanded: false
}),
computed: {
+ hideAttachments () { return this.$store.state.config.hideAttachments },
retweet () { return !!this.statusoid.retweeted_status },
retweeter () { return this.statusoid.user.name },
status () {