chore: remove manual collapsing of section (#28435)

This commit is contained in:
Ankush Menat 2021-11-17 17:05:07 +05:30 committed by GitHub
parent 402205278c
commit 8102e4a210
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,12 +23,6 @@ frappe.ui.form.on('Job Card', {
);
},
onload: function(frm) {
if (frm.doc.scrap_items.length == 0) {
frm.fields_dict['scrap_items_section'].collapse();
}
},
refresh: function(frm) {
frappe.flags.pause_job = 0;
frappe.flags.resume_job = 0;