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:
parent
1d42d05c1f
commit
f9393b0dab
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user