mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Custom reports fix
This commit is contained in:
@@ -134,7 +134,11 @@ export class AnalyticsReportParametersComponent implements OnInit, OnChanges {
|
||||
this.reportParamsSub = this.analyticsService.getReportParams(reportId).subscribe(
|
||||
(res: ReportParametersModel) => {
|
||||
this.reportParameters = res;
|
||||
this.onSuccessReportParams.emit(res);
|
||||
if (this.reportParameters.hasParameters()) {
|
||||
this.onSuccessReportParams.emit(res);
|
||||
} else {
|
||||
this.onSuccess.emit();
|
||||
}
|
||||
},
|
||||
(err: any) => {
|
||||
console.log(err);
|
||||
|
Reference in New Issue
Block a user