This commit is contained in:
syuilo 2018-12-23 03:41:28 +09:00 committed by GitHub
parent 874b8fc3c2
commit 2bc708f8e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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);
});
}