You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by dg...@apache.org on 2020/10/26 09:57:36 UTC
[incubator-datalab] branch develop updated: [DATALAB-2122]: Fixed
filter on billing page (#960)
This is an automated email from the ASF dual-hosted git repository.
dgnatyshyn pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
The following commit(s) were added to refs/heads/develop by this push:
new c80790f [DATALAB-2122]: Fixed filter on billing page (#960)
c80790f is described below
commit c80790f22602ca7e6fada54e1d7c7e2788f53afb
Author: Dmytro Gnatyshyn <42...@users.noreply.github.com>
AuthorDate: Mon Oct 26 11:57:30 2020 +0200
[DATALAB-2122]: Fixed filter on billing page (#960)
[DATALAB-2122]: Fixed filter on billing page
---
.../app/reports/reporting/reporting-grid/reporting-grid.component.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/services/self-service/src/main/resources/webapp/src/app/reports/reporting/reporting-grid/reporting-grid.component.ts b/services/self-service/src/main/resources/webapp/src/app/reports/reporting/reporting-grid/reporting-grid.component.ts
index 4782f71..61399fa 100644
--- a/services/self-service/src/main/resources/webapp/src/app/reports/reporting/reporting-grid/reporting-grid.component.ts
+++ b/services/self-service/src/main/resources/webapp/src/app/reports/reporting/reporting-grid/reporting-grid.component.ts
@@ -106,7 +106,7 @@ export class ReportingGridComponent implements OnInit, AfterViewInit {
private checkFilters() {
this.isFilterChanged = JSON.stringify(this.filteredReportData) === JSON.stringify(this.previousFilterData);
- this.isFilterSelected = Object.keys(this.filteredReportData).filter(v => this.filteredReportData[v].length > 0).length > 0;
+ this.isFilterSelected = Object.keys(this.filteredReportData).filter(v => this.filteredReportData[v] && this.filteredReportData[v].length > 0).length > 0;
}
refreshData(fullReport, report) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org