Browse Source

Merge pull request #28679 from nextcloud/fix/boolean-expected

tags/v23.0.0beta1
John Molakvoæ 2 years ago
parent
commit
2693573be2
No account linked to committer's email address

+ 2
- 2
apps/settings/js/vue-settings-personal-info.js
File diff suppressed because it is too large
View File


+ 1
- 1
apps/settings/js/vue-settings-personal-info.js.map
File diff suppressed because it is too large
View File


+ 3
- 2
apps/settings/src/utils/validate.js View File

@@ -59,10 +59,11 @@ export function validateEmail(input) {
/**
* Validate the language input
*
* @param {string} input the input
* @param {object} input the input
* @returns {boolean}
*/
export function validateLanguage(input) {
return input.code !== ''
&& input.name
&& input.name !== ''
&& input.name !== undefined
}

Loading…
Cancel
Save