summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-11-09 08:41:06 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-11-09 08:41:06 +0900
commit5ef8a8b5f01064d34b04f9b3ab42fefb3342f84e (patch)
tree9e4c388e2b6728c400669b88e946003d4216b0f5 /src
parent[Client] Fix #2759 (diff)
downloadsharkey-5ef8a8b5f01064d34b04f9b3ab42fefb3342f84e.tar.gz
sharkey-5ef8a8b5f01064d34b04f9b3ab42fefb3342f84e.tar.bz2
sharkey-5ef8a8b5f01064d34b04f9b3ab42fefb3342f84e.zip
[Client] Fix #3168
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;