fix: Condition
This commit is contained in:
parent
c0cf5fddbd
commit
f91ecd8d96
1 changed files with 2 additions and 2 deletions
|
|
@ -459,8 +459,8 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
|
|||
data.splice(-1, 1);
|
||||
}
|
||||
|
||||
if (this.datatable
|
||||
&& this.datatable_options.showTotalRow === (this.raw_data.add_total_row
|
||||
if (this.datatable && this.datatable.options
|
||||
&& this.datatable.options.showTotalRow === (this.raw_data.add_total_row
|
||||
&& (!this.raw_data.skip_total_row))) {
|
||||
this.datatable.options.treeView = this.tree_report;
|
||||
this.datatable.refresh(data, columns);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue