[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

View file

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