Fix: プロフィールで他のユーザーにうつってもfieldsが更新されない (#5563)

This commit is contained in:
MeiMei 2019-10-29 09:37:55 +09:00 committed by syuilo
parent 245b08b624
commit 02bde5150e
3 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@
<div class="description"> <div class="description">
<mfm v-if="user.description" :text="user.description" :is-note="false" :author="user" :i="$store.state.i" :custom-emojis="user.emojis" :key="user.id"/> <mfm v-if="user.description" :text="user.description" :is-note="false" :author="user" :i="$store.state.i" :custom-emojis="user.emojis" :key="user.id"/>
</div> </div>
<div class="fields" v-if="user.fields"> <div class="fields" v-if="user.fields" :key="user.id">
<dl class="field" v-for="(field, i) in user.fields" :key="i"> <dl class="field" v-for="(field, i) in user.fields" :key="i">
<dt class="name"> <dt class="name">
<mfm :text="field.name" :plain="true" :custom-emojis="user.emojis"/> <mfm :text="field.name" :plain="true" :custom-emojis="user.emojis"/>

View file

@ -25,7 +25,7 @@
<p v-else class="empty">{{ $t('no-description') }}</p> <p v-else class="empty">{{ $t('no-description') }}</p>
<x-integrations :user="user" style="margin-top:16px;"/> <x-integrations :user="user" style="margin-top:16px;"/>
</div> </div>
<div class="fields" v-if="user.fields"> <div class="fields" v-if="user.fields" :key="user.id">
<dl class="field" v-for="(field, i) in user.fields" :key="i"> <dl class="field" v-for="(field, i) in user.fields" :key="i">
<dt class="name"> <dt class="name">
<mfm :text="field.name" :plain="true" :custom-emojis="user.emojis"/> <mfm :text="field.name" :plain="true" :custom-emojis="user.emojis"/>

View file

@ -25,7 +25,7 @@
<mfm v-if="user.description" :text="user.description" :is-note="false" :author="user" :i="$store.state.i" :custom-emojis="user.emojis" :key="user.id"/> <mfm v-if="user.description" :text="user.description" :is-note="false" :author="user" :i="$store.state.i" :custom-emojis="user.emojis" :key="user.id"/>
<x-integrations :user="user" style="margin:20px 0;"/> <x-integrations :user="user" style="margin:20px 0;"/>
</div> </div>
<div class="fields" v-if="user.fields"> <div class="fields" v-if="user.fields" :key="user.id">
<dl class="field" v-for="(field, i) in user.fields" :key="i"> <dl class="field" v-for="(field, i) in user.fields" :key="i">
<dt class="name"> <dt class="name">
<mfm :text="field.name" :plain="true" :custom-emojis="user.emojis"/> <mfm :text="field.name" :plain="true" :custom-emojis="user.emojis"/>