aboutsummaryrefslogtreecommitdiff
path: root/src/components/settings_modal/tabs/profile_tab.js
diff options
context:
space:
mode:
authorTusooa Zhu <tusooa@kazv.moe>2022-03-26 13:08:22 -0400
committerTusooa Zhu <tusooa@kazv.moe>2022-04-29 20:34:32 -0400
commit3633ea66d4c6f362510788f3ae7ae4cad020629a (patch)
treecd0536aae28909a6ade804fd443913c9f8f92cde /src/components/settings_modal/tabs/profile_tab.js
parent093c85d006fac375bcdbf38964da9c011e4f00f3 (diff)
Make lint happy
Diffstat (limited to 'src/components/settings_modal/tabs/profile_tab.js')
-rw-r--r--src/components/settings_modal/tabs/profile_tab.js4
1 files changed, 2 insertions, 2 deletions
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 */
}