[Client] Fix #3168

This commit is contained in:
syuilo 2018-11-09 08:41:06 +09:00
parent 10fa824f95
commit 5ef8a8b5f0
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
1 changed files with 4 additions and 4 deletions

View File

@ -168,10 +168,10 @@ export default Vue.extend({
birthday: this.birthday || null, birthday: this.birthday || null,
avatarId: this.avatarId, avatarId: this.avatarId,
bannerId: this.bannerId, bannerId: this.bannerId,
isCat: this.isCat, isCat: !!this.isCat,
isBot: this.isBot, isBot: !!this.isBot,
isLocked: this.isLocked, isLocked: !!this.isLocked,
carefulBot: this.carefulBot carefulBot: !!this.carefulBot
}).then(i => { }).then(i => {
this.saving = false; this.saving = false;
this.$store.state.i.avatarId = i.avatarId; this.$store.state.i.avatarId = i.avatarId;