瀏覽代碼

fix: Total Row in query report still hidden (#14183)

version-14
Shariq Ansari 3 年之前
committed by GitHub
父節點
當前提交
e27f58cc0f
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. +1
    -4
      frappe/public/js/frappe/views/reports/query_report.js

+ 1
- 4
frappe/public/js/frappe/views/reports/query_report.js 查看文件

@@ -832,6 +832,7 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
if (this.raw_data.add_total_row) {
data = data.slice();
data.splice(-1, 1);
this.$page.find('.layout-main-section').css('--report-total-height', '310px');
}

this.$report.show();
@@ -854,10 +855,6 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
}
};

if (this.raw_data.add_total_row) {
this.$page.find('.layout-main-section').css('--report-total-height', '310px');
}

if (this.report_settings.get_datatable_options) {
datatable_options = this.report_settings.get_datatable_options(datatable_options);
}


Loading…
取消
儲存