fix: dashboard chart source bug
This commit is contained in:
parent
67b1a9999a
commit
9fa0424e22
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ frappe.dashboard_utils = {
|
|||
name: chart.source
|
||||
}).then(config => {
|
||||
frappe.dom.eval(config);
|
||||
return frappe.dashboards.chart_sources[frm.doc.source].filters;
|
||||
return frappe.dashboards.chart_sources[chart.source].filters;
|
||||
});
|
||||
} else if (chart.chart_type === 'Report') {
|
||||
return frappe.report_utils.get_report_filters(chart.report_name).then(filters => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue