mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 03:17:38 -07:00
replace This note is hidden with CW content
This commit is contained in:
parent
66a0f59b6a
commit
de28d40af5
2 changed files with 2 additions and 3 deletions
|
@ -1127,7 +1127,6 @@ removeQuote: "Remove quote"
|
|||
removeRecipient: "Remove recipient"
|
||||
removeMember: "Remove member"
|
||||
verifiedLink: "Verified link"
|
||||
noteHidden: "This note is hidden"
|
||||
|
||||
_sensitiveMediaDetection:
|
||||
description: "Reduces the effort of server moderation through automatically recognizing
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
<i class="ph-lock ph-bold"></i>
|
||||
</span>
|
||||
<Mfm
|
||||
v-if="note.cw != ''"
|
||||
v-if="note.cw != '' && showContent"
|
||||
class="text"
|
||||
:text="note.cw"
|
||||
:author="note.user"
|
||||
|
@ -59,7 +59,7 @@
|
|||
v-model="collapsed"
|
||||
v-on:keydown="focusFooter"
|
||||
></XShowMoreButton>
|
||||
<span v-if="note.cw && !showContent" class="hiddenNote">{{ i18n.ts.noteHidden }}</span>
|
||||
<Mfm v-if="note.cw && !showContent" class="hiddenNote" :text="note.cw" :author="note.user" :i="$i" :custom-emojis="note.emojis"/>
|
||||
<XCwButton
|
||||
ref="cwButton"
|
||||
v-if="note.cw && !showContent"
|
||||
|
|
Loading…
Reference in a new issue