better handling of hellthreads with mentions at bottom
This commit is contained in:
parent
b84aeff6bf
commit
f883d2f75c
10 changed files with 138 additions and 142 deletions
|
@ -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)
|
||||
|
|
|
@ -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" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue