diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-11-09 08:41:06 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-11-09 08:41:06 +0900 |
| commit | 5ef8a8b5f01064d34b04f9b3ab42fefb3342f84e (patch) | |
| tree | 9e4c388e2b6728c400669b88e946003d4216b0f5 | |
| parent | [Client] Fix #2759 (diff) | |
| download | sharkey-5ef8a8b5f01064d34b04f9b3ab42fefb3342f84e.tar.gz sharkey-5ef8a8b5f01064d34b04f9b3ab42fefb3342f84e.tar.bz2 sharkey-5ef8a8b5f01064d34b04f9b3ab42fefb3342f84e.zip | |
[Client] Fix #3168
| -rw-r--r-- | src/client/app/common/views/components/profile-editor.vue | 8 |
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; |