From c921662036fe39f5146d5a36b4b018af3cfc2635 Mon Sep 17 00:00:00 2001 From: wakarimasen Date: Sun, 5 Mar 2017 14:34:14 +0100 Subject: Add inConversation prop to status --- src/components/status/status.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/components/status/status.js') diff --git a/src/components/status/status.js b/src/components/status/status.js index cca5f7fc..0783604d 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -8,7 +8,8 @@ import UserCardContent from '../user_card_content/user_card_content.vue' const Status = { props: [ 'statusoid', - 'expandable' + 'expandable', + 'inConversation' ], data: () => ({ replying: false, @@ -18,8 +19,8 @@ const Status = { }), computed: { hideAttachments () { - return (this.$store.state.config.hideAttachments && this.expandable) || - (this.$store.state.config.hideAttachmentsInConv && !this.expandable) + return (this.$store.state.config.hideAttachments && !this.inConversation) || + (this.$store.state.config.hideAttachmentsInConv && this.inConversation) }, retweet () { return !!this.statusoid.retweeted_status }, retweeter () { return this.statusoid.user.name }, -- cgit v1.2.3-70-g09d2