[Client] Fix #3168
This commit is contained in:
parent
10fa824f95
commit
5ef8a8b5f0
|
@ -168,10 +168,10 @@ export default Vue.extend({
|
||||||
birthday: this.birthday || null,
|
birthday: this.birthday || null,
|
||||||
avatarId: this.avatarId,
|
avatarId: this.avatarId,
|
||||||
bannerId: this.bannerId,
|
bannerId: this.bannerId,
|
||||||
isCat: this.isCat,
|
isCat: !!this.isCat,
|
||||||
isBot: this.isBot,
|
isBot: !!this.isBot,
|
||||||
isLocked: this.isLocked,
|
isLocked: !!this.isLocked,
|
||||||
carefulBot: this.carefulBot
|
carefulBot: !!this.carefulBot
|
||||||
}).then(i => {
|
}).then(i => {
|
||||||
this.saving = false;
|
this.saving = false;
|
||||||
this.$store.state.i.avatarId = i.avatarId;
|
this.$store.state.i.avatarId = i.avatarId;
|
||||||
|
|
Loading…
Reference in New Issue