summaryrefslogtreecommitdiff
path: root/src/client/app/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app/common')
-rw-r--r--src/client/app/common/views/components/profile-editor.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/common/views/components/profile-editor.vue b/src/client/app/common/views/components/profile-editor.vue
index 080b8d6fc3..c3118126d2 100644
--- a/src/client/app/common/views/components/profile-editor.vue
+++ b/src/client/app/common/views/components/profile-editor.vue
@@ -179,8 +179,8 @@ export default Vue.extend({
location: this.location || null,
description: this.description || null,
birthday: this.birthday || null,
- avatarId: this.avatarId,
- bannerId: this.bannerId,
+ avatarId: this.avatarId || undefined,
+ bannerId: this.bannerId || undefined,
isCat: !!this.isCat,
isBot: !!this.isBot,
isLocked: !!this.isLocked,