From 02c3059a97c03788d3b24bb8e0457f43f5eb893a Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Thu, 23 Apr 2020 20:57:31 +0300 Subject: [PATCH] Change the way rewrite policy input is rendered --- src/views/settings/components/Inputs.vue | 43 ++++++++++++++++++------ 1 file changed, 32 insertions(+), 11 deletions(-) diff --git a/src/views/settings/components/Inputs.vue b/src/views/settings/components/Inputs.vue index 1cd99f28..56ddf1aa 100644 --- a/src/views/settings/components/Inputs.vue +++ b/src/views/settings/components/Inputs.vue @@ -66,17 +66,30 @@ :value="option" :key="index"/> - - - +
+ + + + + + +
{ + const label = element.split('Pleroma.Web.ActivityPub.MRF.')[1] + ? element.split('Pleroma.Web.ActivityPub.MRF.')[1] + : element + return { value: element, label } + }) + }, update(value, group, key, parents, input, type, nested) { nested ? this.processNestedData(value, group, key, parents)