Browse Source

fix: Linting Issues

(cherry picked from commit b28c75a82f)
version-14
Deepesh Garg 3 years ago
committed by mergify-bot
parent
commit
f21d81a58a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      frappe/public/js/frappe/views/reports/query_report.js

+ 2
- 2
frappe/public/js/frappe/views/reports/query_report.js View File

@@ -106,7 +106,7 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
return;
}
let route_options = {}
let route_options = {};
route_options = Object.assign(route_options, frappe.route_options);

if (this.report_name !== frappe.get_route()[1]) {
@@ -531,7 +531,7 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
set_route_filters(route_options) {
if (!route_options) route_options = frappe.route_options;

if(route_options) {
if (route_options) {
const fields = Object.keys(route_options);

const filters_to_set = this.filters.filter(f => fields.includes(f.df.fieldname));


Loading…
Cancel
Save