fix: hide custom options section

This commit is contained in:
prssanna 2020-06-04 16:11:37 +05:30
parent 3aa3832bd3
commit cd457b335d

View file

@ -14,6 +14,7 @@ frappe.ui.form.on('Dashboard Chart', {
frm.chart_filters = null;
if (!frappe.boot.developer_mode && frm.doc.is_standard) {
frm.set_df_property('chart_options_section', 'hidden', 1);
frm.disable_form();
}