Skip to content

Commit

Permalink
chore: fix linting issue in JS
Browse files Browse the repository at this point in the history
  • Loading branch information
ruthra-kumar committed Mar 20, 2024
1 parent 8130957 commit 02c522b
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
// Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt

frappe.listview_settings['Transaction Deletion Record'] = {
frappe.listview_settings["Transaction Deletion Record"] = {
add_fields: ["status"],
get_indicator: function(doc) {
get_indicator: function (doc) {
let colors = {
'Queued': 'orange',
'Completed': 'green',
'Running': 'blue',
'Failed': 'red',
Queued: "orange",
Completed: "green",
Running: "blue",
Failed: "red",
};
let status = doc.status;
return [__(status), colors[status], 'status,=,'+status];
return [__(status), colors[status], "status,=," + status];
},
};

0 comments on commit 02c522b

Please sign in to comment.