fix: hide custom options section
This commit is contained in:
parent
3aa3832bd3
commit
cd457b335d
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue