fix infinite loop
This commit is contained in:
parent
f883d2f75c
commit
255f47fe56
2 changed files with 17 additions and 23 deletions
|
@ -38,10 +38,11 @@
|
|||
>
|
||||
{{ $t("general.show_more") }}
|
||||
</button>
|
||||
<span
|
||||
class="text-wrapper"
|
||||
v-if="!hideSubjectStatus && !(singleLine && status.summary_html)"
|
||||
>
|
||||
<span v-if="!hideSubjectStatus && !(singleLine && status.summary_html)">
|
||||
<MentionsLine
|
||||
v-if="!hideMentions && firstMentions && firstMentions.length > 0"
|
||||
:mentions="firstMentions"
|
||||
/>
|
||||
<RichContent
|
||||
:class="{ '-single-line': singleLine }"
|
||||
class="text media-body"
|
||||
|
@ -53,19 +54,11 @@
|
|||
@parseReady="setHeadTailLinks"
|
||||
ref="text"
|
||||
>
|
||||
<template v-slot:prefix>
|
||||
<MentionsLine
|
||||
v-if="!hideMentions && firstMentions && firstMentions.length > 0"
|
||||
:mentions="firstMentions"
|
||||
/>
|
||||
</template>
|
||||
<template v-slot:suffix>
|
||||
<MentionsLine
|
||||
v-if="!hideMentions && lastMentions.length > 0 && firstMentions.length === 0"
|
||||
:mentions="lastMentions"
|
||||
/>
|
||||
</template>
|
||||
</RichContent>
|
||||
<MentionsLine
|
||||
v-if="!hideMentions && lastMentions.length > 0 && firstMentions.length === 0"
|
||||
:mentions="lastMentions"
|
||||
/>
|
||||
</span>
|
||||
|
||||
<button
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue