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

View file

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