aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/registration/registration.js2
-rw-r--r--src/components/settings_modal/tabs/profile_tab.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/components/registration/registration.js b/src/components/registration/registration.js
index e3f6b875..6eb316d0 100644
--- a/src/components/registration/registration.js
+++ b/src/components/registration/registration.js
@@ -14,7 +14,7 @@ const registration = {
password: '',
confirm: '',
reason: '',
- language: '',
+ language: ''
},
captcha: {}
}),
diff --git a/src/components/settings_modal/tabs/profile_tab.js b/src/components/settings_modal/tabs/profile_tab.js
index 953f17f0..9a8628f0 100644
--- a/src/components/settings_modal/tabs/profile_tab.js
+++ b/src/components/settings_modal/tabs/profile_tab.js
@@ -43,7 +43,7 @@ const ProfileTab = {
bannerPreview: null,
background: null,
backgroundPreview: null,
- emailLanguage: this.$store.state.users.currentUser.language
+ emailLanguage: this.$store.state.users.currentUser.language || ''
}
},
components: {
@@ -123,7 +123,7 @@ const ProfileTab = {
display_name: this.newName,
fields_attributes: this.newFields.filter(el => el != null),
bot: this.bot,
- show_role: this.showRole,
+ show_role: this.showRole
/* eslint-enable camelcase */
}