improve note summary
This commit is contained in:
parent
0d215599be
commit
5627a48ea2
@ -6,7 +6,7 @@ import { Packed } from './schema.js';
|
||||
*/
|
||||
export const getNoteSummary = (note: Packed<'Note'>): string => {
|
||||
if (note.deletedAt) {
|
||||
return `(❌⛔)`;
|
||||
return `❌`;
|
||||
}
|
||||
|
||||
let summary = '';
|
||||
|
@ -6,7 +6,7 @@
|
||||
<div class="body">
|
||||
<MkA v-if="note.replyId" class="reply" :to="`/notes/${note.replyId}`"><i class="ph-arrow-bend-up-left-bold ph-lg"></i></MkA>
|
||||
<Mfm v-if="note.text" :text="note.text" :author="note.user" :i="$i" :custom-emojis="note.emojis"/>
|
||||
<MkA v-if="note.renoteId" class="rp" :to="`/notes/${note.renoteId}`">RN: ...</MkA>
|
||||
<!-- <MkA v-if="note.renoteId" class="rp" :to="`/notes/${note.renoteId}`">RN: ...</MkA> -->
|
||||
</div>
|
||||
<div v-if="note.files.length > 0" class="richcontent">
|
||||
<XMediaList :media-list="note.files"/>
|
||||
|
Loading…
Reference in New Issue
Block a user