improve note summary

This commit is contained in:
ThatOneCalculator 2023-01-10 09:39:48 -08:00
parent 0d215599be
commit 5627a48ea2
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import { Packed } from './schema.js';
*/
export const getNoteSummary = (note: Packed<'Note'>): string => {
if (note.deletedAt) {
return `(⛔)`;
return ``;
}
let summary = '';

View File

@ -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"/>