From 5ef8a8b5f01064d34b04f9b3ab42fefb3342f84e Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 9 Nov 2018 08:41:06 +0900 Subject: [PATCH] [Client] Fix #3168 --- src/client/app/common/views/components/profile-editor.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/app/common/views/components/profile-editor.vue b/src/client/app/common/views/components/profile-editor.vue index 44f1d95673..d04ec56b00 100644 --- a/src/client/app/common/views/components/profile-editor.vue +++ b/src/client/app/common/views/components/profile-editor.vue @@ -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;