From c84321d63879cf104c3bf02ca9ddec44258e67e5 Mon Sep 17 00:00:00 2001 From: prssanna Date: Wed, 19 Feb 2020 13:20:39 +0530 Subject: [PATCH] fix: code formatting --- frappe/core/page/dashboard/dashboard.js | 7 ++-- .../dashboard_chart/dashboard_chart.js | 16 +++++++- .../public/js/frappe/utils/dashboard_utils.js | 14 ++++--- .../js/frappe/views/reports/report_utils.js | 38 +------------------ 4 files changed, 28 insertions(+), 47 deletions(-) diff --git a/frappe/core/page/dashboard/dashboard.js b/frappe/core/page/dashboard/dashboard.js index e33c81fe9c..25e051de70 100644 --- a/frappe/core/page/dashboard/dashboard.js +++ b/frappe/core/page/dashboard/dashboard.js @@ -297,7 +297,8 @@ class DashboardChart { setup_filter_button() { this.is_document_type = this.chart_doc.chart_type!== 'Report' && this.chart_doc.chart_type!=='Custom'; - this.filter_button = $(`
${__("Set Filters")}
`); + this.filter_button = + $(`
${__("Set Filters")}
`); this.filter_button.prependTo(this.chart_container); this.filter_button.on('click', () => { @@ -377,8 +378,8 @@ class DashboardChart { set_chart_actions(actions) { this.chart_actions = $(`