fix: Linting issues

This commit is contained in:
Deepesh Garg 2020-09-02 21:12:26 +05:30
parent b65e658828
commit 0bdb4c8b4e

View file

@ -65,7 +65,7 @@ frappe.notification = {
if (d.fieldtype == 'Table') {
let child_fields = frappe.get_doc('DocType', d.options).fields;
return $.map(child_fields, function(df) {
return df.options == 'Email' ||
return df.options == 'Email' ||
(df.options == 'User' && df.fieldtype == 'Link')
? get_select_options(df, d.fieldname) : null;
});