commit: 1a8840c7c3bb698f3984028db5c1b71025d9d6a1
parent b9d1ecec44375c15e0425fb78dbc8ca92c0669a8
Author: lain <lain@soykaf.club>
Date: Thu, 13 Aug 2020 14:01:30 +0000
Merge branch 'fix/treat-field-name-as-text' into 'develop'
treat field name as text
See merge request pleroma/pleroma-fe!1210
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue
@@ -20,13 +20,14 @@
:key="index"
class="user-profile-field"
>
- <!-- eslint-disable vue/no-v-html -->
<dt
:title="user.fields_text[index].name"
class="user-profile-field-name"
@click.prevent="linkClicked"
- v-html="field.name"
- />
+ >
+ {{ field.name }}
+ </dt>
+ <!-- eslint-disable vue/no-v-html -->
<dd
:title="user.fields_text[index].value"
class="user-profile-field-value"