aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.js
diff options
context:
space:
mode:
authorwakarimasen <wakarimasen@airmail.cc>2017-03-04 21:25:59 +0100
committerwakarimasen <wakarimasen@airmail.cc>2017-03-04 21:25:59 +0100
commit6bcbed38d0952a332a900a615bfe8c7a553e8fc4 (patch)
treecfed85e21222b368cc2d5b0a69a03de350456990 /src/components/status/status.js
parent049c74f8e87e0aa19ee416bb72c987296a3e2dc9 (diff)
Add option to only hide attachments on timeline
Diffstat (limited to 'src/components/status/status.js')
-rw-r--r--src/components/status/status.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index 22292ffa..cca5f7fc 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -17,7 +17,10 @@ const Status = {
userExpanded: false
}),
computed: {
- hideAttachments () { return this.$store.state.config.hideAttachments },
+ hideAttachments () {
+ return (this.$store.state.config.hideAttachments && this.expandable) ||
+ (this.$store.state.config.hideAttachmentsInConv && !this.expandable)
+ },
retweet () { return !!this.statusoid.retweeted_status },
retweeter () { return this.statusoid.user.name },
status () {