diff options
Diffstat (limited to 'src/components/status_content')
| -rw-r--r-- | src/components/status_content/status_content.js | 7 | ||||
| -rw-r--r-- | src/components/status_content/status_content.vue | 5 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/components/status_content/status_content.js b/src/components/status_content/status_content.js index 64cc6d44..11a4974b 100644 --- a/src/components/status_content/status_content.js +++ b/src/components/status_content/status_content.js @@ -32,9 +32,7 @@ const StatusContent = { 'noHeading', 'fullContent', 'singleLine', - 'hideFirstMentions', - 'hideLastMentions', - 'headTailLinks' + 'hideMentions' ], computed: { hideAttachments () { @@ -94,6 +92,9 @@ const StatusContent = { StatusBody }, methods: { + setHeadTailLinks (headTailLinks) { + this.$emit('parseReady', headTailLinks) + }, setMedia () { const attachments = this.attachmentSize === 'hide' ? this.status.attachments : this.galleryAttachments return () => this.$store.dispatch('setMedia', attachments) diff --git a/src/components/status_content/status_content.vue b/src/components/status_content/status_content.vue index c32bbbfb..feb34d2c 100644 --- a/src/components/status_content/status_content.vue +++ b/src/components/status_content/status_content.vue @@ -4,9 +4,8 @@ <StatusBody :status="status" :single-line="singleLine" - :hide-first-mentions="hideFirstMentions" - :hide-last-mentions="hideLastMentions" - :head-tail-links="headTailLinks" + :hide-mentions="hideMentions" + @parseReady="setHeadTailLinks" > <div v-if="status.poll && status.poll.options"> <poll :base-poll="status.poll" /> |
