fix: Total Row hidden (#14209)

This commit is contained in:
Shariq Ansari 2021-09-15 09:58:43 +05:30 committed by GitHub
parent ce5ce9deb4
commit 95ad6bb4ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -832,7 +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.$page.find('.layout-main-section')[0].style.setProperty('--report-total-height', '310px');
}
this.$report.show();