Merge branch 'fix/treat-field-name-as-text' into 'develop'

treat field name as text

See merge request pleroma/pleroma-fe!1210
This commit is contained in:
lain 2020-08-13 14:01:30 +00:00
commit 1a8840c7c3
1 changed files with 4 additions and 3 deletions

View File

@ -20,13 +20,14 @@
:key="index" :key="index"
class="user-profile-field" class="user-profile-field"
> >
<!-- eslint-disable vue/no-v-html -->
<dt <dt
:title="user.fields_text[index].name" :title="user.fields_text[index].name"
class="user-profile-field-name" class="user-profile-field-name"
@click.prevent="linkClicked" @click.prevent="linkClicked"
v-html="field.name" >
/> {{ field.name }}
</dt>
<!-- eslint-disable vue/no-v-html -->
<dd <dd
:title="user.fields_text[index].value" :title="user.fields_text[index].value"
class="user-profile-field-value" class="user-profile-field-value"