fix: removed only custom dashboard

This commit is contained in:
Anurag Mishra 2019-12-10 15:20:47 +05:30
parent ce42f48bfb
commit 9cc5c18f36

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