fix: List view status
This commit is contained in:
parent
33feee7ae2
commit
fc2f7fa028
1 changed files with 0 additions and 4 deletions
|
|
@ -26,7 +26,6 @@ frappe.listview_settings['Data Import'] = {
|
|||
'Error': 'red'
|
||||
};
|
||||
let status = doc.status;
|
||||
let import_log = JSON.parse(doc.import_log || '[]');
|
||||
|
||||
if (imports_in_progress.includes(doc.name)) {
|
||||
status = 'In Progress';
|
||||
|
|
@ -34,9 +33,6 @@ frappe.listview_settings['Data Import'] = {
|
|||
if (status == 'Pending') {
|
||||
status = 'Not Started';
|
||||
}
|
||||
if (doc.status == 'Pending' && import_log.length > 0) {
|
||||
status = 'Partially Completed';
|
||||
}
|
||||
|
||||
return [__(status), colors[status], 'status,=,' + doc.status];
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue