mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
This commit is contained in:
@@ -81,6 +81,9 @@ export class AnalyticsGeneratorComponent implements OnChanges {
|
||||
}
|
||||
|
||||
public generateReport(reportId, reportParamQuery) {
|
||||
if (reportParamQuery === undefined || reportParamQuery === null) {
|
||||
reportParamQuery = {};
|
||||
}
|
||||
this.analyticsService.getReportsByParams(reportId, reportParamQuery).subscribe(
|
||||
(res: Chart[]) => {
|
||||
this.reports = res;
|
||||
|
Reference in New Issue
Block a user