Merge pull request #39081 from sokumon/query-report
This commit is contained in:
commit
4870a8070d
1 changed files with 4 additions and 3 deletions
|
|
@ -768,7 +768,8 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
|
|||
this.execution_time = data.execution_time || 0.1;
|
||||
|
||||
const check_if_report_is_stale = () => {
|
||||
let generated_at = this.prepared_report
|
||||
let generated_at =
|
||||
this.prepared_report && this.prepared_report_document
|
||||
? this.prepared_report_document.report_end_time
|
||||
: this.refreshed_at;
|
||||
let pretty_diff = frappe.datetime.comment_when(generated_at);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue