diff options
| author | zyoshoka <107108195+zyoshoka@users.noreply.github.com> | 2024-04-07 21:16:37 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-07 21:16:37 +0900 |
| commit | 960c4df48e31483209ac0421a009686685acd82d (patch) | |
| tree | 55f3ebd301b577bf1e09835440952d99e6df3b0a /packages/frontend/src/components/MkNoteDetailed.vue | |
| parent | refactor(general): use `Date.now()` instead of creating a new `Date` instance... (diff) | |
| download | misskey-960c4df48e31483209ac0421a009686685acd82d.tar.gz misskey-960c4df48e31483209ac0421a009686685acd82d.tar.bz2 misskey-960c4df48e31483209ac0421a009686685acd82d.zip | |
enhance(frontend): better condition for posting and displaying Notes (#13670)
* enhance(frontend): better condition for posting and displaying Notes
* Update CHANGELOG.md
Diffstat (limited to 'packages/frontend/src/components/MkNoteDetailed.vue')
| -rw-r--r-- | packages/frontend/src/components/MkNoteDetailed.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkNoteDetailed.vue b/packages/frontend/src/components/MkNoteDetailed.vue index eec1aad53c..ed1c0a9e96 100644 --- a/packages/frontend/src/components/MkNoteDetailed.vue +++ b/packages/frontend/src/components/MkNoteDetailed.vue @@ -68,7 +68,7 @@ SPDX-License-Identifier: AGPL-3.0-only <div :class="$style.noteContent"> <p v-if="appearNote.cw != null" :class="$style.cw"> <Mfm v-if="appearNote.cw != ''" style="margin-right: 8px;" :text="appearNote.cw" :author="appearNote.user" :nyaize="'respect'"/> - <MkCwButton v-model="showContent" :text="appearNote.text" :files="appearNote.files" :poll="appearNote.poll"/> + <MkCwButton v-model="showContent" :text="appearNote.text" :renote="appearNote.renote" :files="appearNote.files" :poll="appearNote.poll"/> </p> <div v-show="appearNote.cw == null || showContent"> <span v-if="appearNote.isHidden" style="opacity: 0.5">({{ i18n.ts.private }})</span> @@ -266,7 +266,9 @@ if (noteViewInterruptors.length > 0) { const isRenote = ( note.value.renote != null && + note.value.reply == null && note.value.text == null && + note.value.cw == null && note.value.fileIds && note.value.fileIds.length === 0 && note.value.poll == null ); |