Merge pull request #19885 from Anurag810/leave_application_dashboard_fix

fix: removed only custom dashboard
This commit is contained in:
Mangesh-Khairnar
2019-12-10 16:24:51 +05:30
committed by GitHub

View File

@@ -60,6 +60,7 @@ frappe.ui.form.on("Leave Application", {
}
}
});
$("div").remove(".form-dashboard-section.custom");
frm.dashboard.add_section(
frappe.render_template('leave_application_dashboard', {
data: leave_details