Make lint happy

This commit is contained in:
Tusooa Zhu 2022-03-26 13:08:22 -04:00
parent 093c85d006
commit 3633ea66d4
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
2 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ const registration = {
password: '', password: '',
confirm: '', confirm: '',
reason: '', reason: '',
language: '', language: ''
}, },
captcha: {} captcha: {}
}), }),

View file

@ -43,7 +43,7 @@ const ProfileTab = {
bannerPreview: null, bannerPreview: null,
background: null, background: null,
backgroundPreview: null, backgroundPreview: null,
emailLanguage: this.$store.state.users.currentUser.language emailLanguage: this.$store.state.users.currentUser.language || ''
} }
}, },
components: { components: {
@ -123,7 +123,7 @@ const ProfileTab = {
display_name: this.newName, display_name: this.newName,
fields_attributes: this.newFields.filter(el => el != null), fields_attributes: this.newFields.filter(el => el != null),
bot: this.bot, bot: this.bot,
show_role: this.showRole, show_role: this.showRole
/* eslint-enable camelcase */ /* eslint-enable camelcase */
} }