fix: utils path
This commit is contained in:
parent
0d204e7459
commit
da08c50e34
2 changed files with 2 additions and 2 deletions
|
|
@ -648,7 +648,7 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
|
|||
|
||||
render_summary(data) {
|
||||
data.forEach((summary) => {
|
||||
frappe.widget.utils.build_summary_item(summary).appendTo(this.$summary);
|
||||
frappe.utils.build_summary_item(summary).appendTo(this.$summary);
|
||||
})
|
||||
|
||||
this.$summary.show();
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ export default class ChartWidget extends Widget {
|
|||
}
|
||||
|
||||
this.summary.forEach(summary => {
|
||||
frappe.widget.utils.build_summary_item(summary).appendTo(this.$summary);
|
||||
frappe.utils.build_summary_item(summary).appendTo(this.$summary);
|
||||
});
|
||||
this.summary.length && this.$summary.show();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue