This commit is contained in:
syuilo 2018-12-23 03:41:28 +09:00 committed by GitHub
parent 2eea6e9f39
commit ed8e55d9a2
2 changed files with 3 additions and 5 deletions

View File

@ -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);
});

View File

@ -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);
});
}