parent
874b8fc3c2
commit
2bc708f8e6
|
@ -207,8 +207,7 @@ export default Vue.extend({
|
|||
this.visibility = this.reply.visibility;
|
||||
}
|
||||
|
||||
// ダイレクトへのリプライはリプライ先ユーザーを初期設定
|
||||
if (this.reply && this.reply.visibility === 'specified') {
|
||||
if (this.reply) {
|
||||
this.$root.api('users/show', { userId: this.reply.userId }).then(user => {
|
||||
this.visibleUsers.push(user);
|
||||
});
|
||||
|
|
|
@ -197,9 +197,8 @@ export default Vue.extend({
|
|||
this.visibility = this.reply.visibility;
|
||||
}
|
||||
|
||||
// ダイレクトへのリプライはリプライ先ユーザーを初期設定
|
||||
if (this.reply && this.reply.visibility === 'specified') {
|
||||
this.$root.api('users/show', { userId: this.reply.userId }).then(user => {
|
||||
if (this.reply) {
|
||||
this.$root.api('users/show', { userId: this.reply.userId }).then(user => {
|
||||
this.visibleUsers.push(user);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue