chore: update .eslintrc globals

style: updated data.js spacing format
This commit is contained in:
Gavin D'souza 2020-03-26 02:17:54 +05:30
parent 5627981192
commit e57a5d347d
2 changed files with 2 additions and 1 deletions

View file

@ -78,6 +78,7 @@
"has_common": true, "has_common": true,
"has_words": true, "has_words": true,
"validate_email": true, "validate_email": true,
"validate_phone": true,
"get_number_format": true, "get_number_format": true,
"format_number": true, "format_number": true,
"format_currency": true, "format_currency": true,

View file

@ -87,7 +87,7 @@ frappe.ui.form.ControlData = frappe.ui.form.ControlInput.extend({
return val==null ? "" : val; return val==null ? "" : val;
}, },
validate: function(v) { validate: function(v) {
if (!v){ if (!v) {
return ''; return '';
} }
if(this.df.is_filter) { if(this.df.is_filter) {