Merge pull request #11386 from marination/query-report-status

feat: Show Status Section in Query Report
This commit is contained in:
mergify[bot] 2020-08-31 15:02:07 +00:00 committed by GitHub
commit c12eb3c093
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -592,6 +592,8 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
this.render_summary(data.report_summary);
}
if (data.message && !data.prepared_report) this.show_status(data.message);
this.toggle_message(false);
if (data.result && data.result.length) {
this.prepare_report_data(data);