Use RichContent component for Reports

Note that this expects an emoji list for the reports. I made an MR in BE to provide that: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3650
This commit is contained in:
Ilja 2022-03-20 09:45:35 +01:00
parent 1d42d05c1f
commit f9393b0dab
1 changed files with 3 additions and 3 deletions

View File

@ -28,10 +28,10 @@
</option> </option>
</Select> </Select>
</div> </div>
<!-- eslint-disable vue/no-v-html --> <RichContent
<div
class="report-content" class="report-content"
v-html="report.content" :html="report.content"
:emoji="report.emojis"
/> />
<div v-if="report.statuses.length"> <div v-if="report.statuses.length">
<small>{{ $t('report.reported_statuses') }}</small> <small>{{ $t('report.reported_statuses') }}</small>