This commit is contained in:
mattyatea 2024-05-17 11:44:57 +09:00
parent ab94d15d38
commit ce3a019d81
3 changed files with 5 additions and 3 deletions

View file

@ -10,7 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkNoteHeader :class="$style.header" :note="note" :mini="true"/>
<div>
<p v-if="note.cw != null" :class="$style.cw">
<Mfm v-if="note.cw != ''" style="margin-right: 8px;" :text="note.cw" :author="note.user" :nyaize="'respect'" :emojiUrls="note.emojis"/>
<Mfm v-if="note.cw != ''" :emojireq="emojireq" style="margin-right: 8px;" :text="note.cw" :author="note.user" :nyaize="'respect'" :emojiUrls="note.emojis"/>
<MkCwButton v-model="showContent" :text="note.text" :files="note.files" :poll="note.poll"/>
</p>
<div v-show="note.cw == null || showContent">
@ -42,6 +42,7 @@ const props = defineProps<{
isSchedule?: boolean;
scheduledNoteId?: string;
};
emojireq:boolean;
}>();
const emit = defineEmits<{