fix: MkEvent missing
This commit is contained in:
parent
c1f6c3ac83
commit
136b758e8f
|
@ -7,6 +7,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<MkEvent v-if="note.event" :note="note"/>
|
||||
<p v-if="note.cw != null" :class="$style.cw">
|
||||
<Mfm v-if="note.cw != ''" style="margin-right: 8px;" :text="note.cw" :author="note.user" :i="$i" :emojiUrls="note.emojis"/>
|
||||
<MkCwButton v-model="showContent" :note="note"/>
|
||||
|
@ -24,6 +25,7 @@ import * as misskey from 'cherrypick-js';
|
|||
import MkNoteHeader from '@/components/MkNoteHeader.vue';
|
||||
import MkSubNoteContent from '@/components/MkSubNoteContent.vue';
|
||||
import MkCwButton from '@/components/MkCwButton.vue';
|
||||
import MkEvent from '@/components/MkEvent.vue';
|
||||
import { $i } from '@/account';
|
||||
import { eventBus } from '@/scripts/cherrypick/eventBus';
|
||||
import { mainRouter } from '@/router';
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<div :class="$style.body">
|
||||
<MkNoteHeader :class="$style.header" :note="note" :mini="true"/>
|
||||
<div>
|
||||
<MkEvent v-if="note.event" :note="note"/>
|
||||
<p v-if="note.cw != null" :class="$style.cw">
|
||||
<Mfm v-if="note.cw != ''" style="margin-right: 8px;" :text="note.cw" :author="note.user" :i="$i"/>
|
||||
<MkCwButton v-model="showContent" :note="note"/>
|
||||
|
@ -32,6 +33,7 @@ import * as misskey from 'cherrypick-js';
|
|||
import MkNoteHeader from '@/components/MkNoteHeader.vue';
|
||||
import MkSubNoteContent from '@/components/MkSubNoteContent.vue';
|
||||
import MkCwButton from '@/components/MkCwButton.vue';
|
||||
import MkEvent from '@/components/MkEvent.vue';
|
||||
import { notePage } from '@/filters/note';
|
||||
import * as os from '@/os';
|
||||
import { i18n } from '@/i18n';
|
||||
|
|
Loading…
Reference in a new issue