summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/app/common/views/components/profile-editor.vue8
1 files 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;