fix(MkAbuseReport): report category is not shown

This commit is contained in:
オスカー、 2024-08-12 18:17:20 +09:00
parent f82a59d12c
commit 44a7802f3a
Signed by: SWREI
GPG Key ID: 139D6573F92DA9F7

View File

@ -28,7 +28,7 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts.moderator }}:
<MkAcct :user="report.assignee"/>
</div>
<div v-if="report.category">{{ i18n.ts.category }}: {{ i18n.ts[`_abuseReportCategory.${report.category}`] }}</div>
<div v-if="report.category">{{ i18n.ts.category }}: {{ i18n.ts._abuseReportCategory[`${report.category}`] }}</div>
<div><MkTime :time="report.createdAt"/></div>
<div class="action">
<MkSwitch v-model="forward" :disabled="report.targetUser.host == null || report.resolved">