diff --git a/frappe/core/page/dashboard/dashboard.js b/frappe/core/page/dashboard/dashboard.js index 66d1b0ecf3..655bbe7444 100644 --- a/frappe/core/page/dashboard/dashboard.js +++ b/frappe/core/page/dashboard/dashboard.js @@ -9,7 +9,7 @@ frappe.pages['dashboard'].on_page_load = function(wrapper) { $(wrapper).bind('show', function() { frappe.dashboard.show(); }); -} +}; class Dashboard { constructor(wrapper) { @@ -45,7 +45,7 @@ class Dashboard { let dashboard_chart = new DashboardChart(chart_doc, chart_container); dashboard_chart.show(); }); - }) + }); } get_dashboard_doc() { @@ -103,11 +103,11 @@ class DashboardChart { this.update_chart_object(); this.data = data; this.render(); - }) + }); }); } d.hide(); - } + }; this.filter_fields.map(field => field.onchange = e => { if(e) { @@ -124,10 +124,10 @@ class DashboardChart { this.update_chart_object(); this.data = data; this.render(); - }) + }); } } - ] + ]; this.chart_actions = $(`