From 3930f3b5fa4759700313e27ca7ca657ea7417dfb Mon Sep 17 00:00:00 2001 From: Sumit Bhanushali Date: Sat, 13 Jul 2024 10:40:40 +0530 Subject: [PATCH] fix: precommit check --- frappe/public/js/frappe/widgets/chart_widget.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/frappe/public/js/frappe/widgets/chart_widget.js b/frappe/public/js/frappe/widgets/chart_widget.js index db7553cc43..cfaba04a71 100644 --- a/frappe/public/js/frappe/widgets/chart_widget.js +++ b/frappe/public/js/frappe/widgets/chart_widget.js @@ -141,7 +141,8 @@ export default class ChartWidget extends Widget { } else { filters = [ { - label: __(this.chart_settings.time_interval) || __(this.chart_doc.time_interval), + label: + __(this.chart_settings.time_interval) || __(this.chart_doc.time_interval), options: ["Yearly", "Quarterly", "Monthly", "Weekly", "Daily"], icon: "calendar", class: "time-interval-filter", @@ -473,7 +474,9 @@ export default class ChartWidget extends Widget { ${actions .map( (action) => - `
  • ${__(action.label)}
  • ` + `
  • ${__( + action.label + )}
  • ` ) .join("")}