fix(linting)
This commit is contained in:
parent
538195de21
commit
39bda1749c
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ frappe.listview_settings['Energy Point Log'] = {
|
|||
'Auto': 'blue',
|
||||
'Revert': 'orange',
|
||||
'Review': 'grey'
|
||||
}
|
||||
};
|
||||
return [__(doc.type), colors[doc.type], "type,=," + doc.type];
|
||||
},
|
||||
|
||||
|
|
@ -20,7 +20,7 @@ frappe.listview_settings['Energy Point Log'] = {
|
|||
return __('View Ref');
|
||||
},
|
||||
get_description: function(doc) {
|
||||
return __('Open {0}', [`${doc.reference_doctype} ${doc.reference_name}`])
|
||||
return __('Open {0}', [`${doc.reference_doctype} ${doc.reference_name}`]);
|
||||
},
|
||||
action: function(doc) {
|
||||
frappe.set_route('Form', doc.reference_doctype, doc.reference_name);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue