fix(frontend): follow-up of 16970 (#16975)

This commit is contained in:
かっこかり 2025-12-13 18:22:40 +09:00 committed by GitHub
parent c109bec013
commit cb03f3f013
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 168 additions and 166 deletions

View File

@ -46,7 +46,8 @@ SPDX-License-Identifier: AGPL-3.0-only
<div v-if="isRenote && note.renote == null" :class="$style.deleted">
{{ i18n.ts.deletedNote }}
</div>
<article v-else :class="$style.note" @contextmenu.stop="onContextmenu">
<template v-else>
<article :class="$style.note" @contextmenu.stop="onContextmenu">
<header :class="$style.noteHeader">
<MkAvatar :class="$style.noteHeaderAvatar" :user="appearNote.user" indicator link preview/>
<div :class="$style.noteHeaderBody">
@ -218,6 +219,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkPagination>
</div>
</div>
</template>
</div>
<div v-else-if="muted" class="_panel" :class="$style.muted" @click="muted = false">
<I18n :src="i18n.ts.userSaysSomething" tag="small">