chore: fix linting issue in JS
This commit is contained in:
@@ -1,16 +1,16 @@
|
|||||||
// Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors
|
// Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors
|
||||||
// License: GNU General Public License v3. See license.txt
|
// License: GNU General Public License v3. See license.txt
|
||||||
|
|
||||||
frappe.listview_settings['Transaction Deletion Record'] = {
|
frappe.listview_settings["Transaction Deletion Record"] = {
|
||||||
add_fields: ["status"],
|
add_fields: ["status"],
|
||||||
get_indicator: function(doc) {
|
get_indicator: function (doc) {
|
||||||
let colors = {
|
let colors = {
|
||||||
'Queued': 'orange',
|
Queued: "orange",
|
||||||
'Completed': 'green',
|
Completed: "green",
|
||||||
'Running': 'blue',
|
Running: "blue",
|
||||||
'Failed': 'red',
|
Failed: "red",
|
||||||
};
|
};
|
||||||
let status = doc.status;
|
let status = doc.status;
|
||||||
return [__(status), colors[status], 'status,=,'+status];
|
return [__(status), colors[status], "status,=," + status];
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user