diff options
| author | wakarimasen <wakarimasen@airmail.cc> | 2017-03-05 14:34:14 +0100 |
|---|---|---|
| committer | wakarimasen <wakarimasen@airmail.cc> | 2017-03-05 14:34:14 +0100 |
| commit | c921662036fe39f5146d5a36b4b018af3cfc2635 (patch) | |
| tree | a5afbde367b54d81f321dbd15cbf5d70d6ac60cb /src/components/status/status.js | |
| parent | 6bcbed38d0952a332a900a615bfe8c7a553e8fc4 (diff) | |
Add inConversation prop to status
Diffstat (limited to 'src/components/status/status.js')
| -rw-r--r-- | src/components/status/status.js | 7 |
1 files changed, 4 insertions, 3 deletions
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 }, |
