logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: f9393b0dab22279e9bdb97a1cf52fecfe278a4a7
parent 1d42d05c1fd462af26b7d340b95343ca80879737
Author: Ilja <ilja@ilja.space>
Date:   Sun, 20 Mar 2022 09:45:35 +0100

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:

Msrc/components/report/report.vue6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 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>