diff options
| author | Ilja <ilja@ilja.space> | 2022-03-20 09:45:35 +0100 |
|---|---|---|
| committer | Ilja <ilja@ilja.space> | 2022-03-20 09:45:35 +0100 |
| commit | f9393b0dab22279e9bdb97a1cf52fecfe278a4a7 (patch) | |
| tree | 9b2dfce08ac6a4f59b413400e87a838be82e688f /src/components/report | |
| parent | 1d42d05c1fd462af26b7d340b95343ca80879737 (diff) | |
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
Diffstat (limited to 'src/components/report')
| -rw-r--r-- | src/components/report/report.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/report/report.vue b/src/components/report/report.vue index 6f7fa7d2..c7766f84 100644 --- a/src/components/report/report.vue +++ b/src/components/report/report.vue @@ -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> |
