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
commit dd079d7e02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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