Browse Source

fix: condition for is_query_report

version-14
Sagar Vora 4 years ago
parent
commit
1edd2f68d4
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      frappe/public/js/frappe/widgets/onboarding_widget.js

+ 1
- 3
frappe/public/js/frappe/widgets/onboarding_widget.js View File

@@ -157,9 +157,7 @@ export default class OnboardingWidget extends Widget {
let route = frappe.utils.generate_route({
name: step.reference_report,
type: "report",
is_query_report: ["Query Report", "Script Report"].includes(
step.report_type
),
is_query_report: step.report_type !== "Report Builder",
doctype: step.report_reference_doctype,
});



Loading…
Cancel
Save