commit | 9cc5c18f36ec8736a688315adb520d995ed0d753 | [log] [tgz] |
---|---|---|
author | Anurag Mishra <mishranaman123@gmail.com> | Tue Dec 10 15:20:47 2019 +0530 |
committer | Anurag Mishra <mishranaman123@gmail.com> | Tue Dec 10 15:20:47 2019 +0530 |
tree | deeb2e79c9829c0715b982ec1f5263e60ddb9eb2 | |
parent | ce42f48bfbe8ec13dc5d0da44b718eb1355091b0 [diff] |
fix: removed only custom dashboard
diff --git a/erpnext/hr/doctype/leave_application/leave_application.js b/erpnext/hr/doctype/leave_application/leave_application.js index e32d570..14ffa0e 100755 --- a/erpnext/hr/doctype/leave_application/leave_application.js +++ b/erpnext/hr/doctype/leave_application/leave_application.js
@@ -60,6 +60,7 @@ } } }); + $("div").remove(".form-dashboard-section.custom"); frm.dashboard.add_section( frappe.render_template('leave_application_dashboard', { data: leave_details