mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
upgrade js api (#5152)
* upgrade to latest js api
* add missing types
* remove useless function
* fix types
* enable strict mode
* Revert "enable strict mode"
This reverts commit 8e3f9c4563
.
This commit is contained in:
committed by
Eugenio Romano
parent
47ec01555a
commit
b3ca2166f0
@@ -67,13 +67,13 @@ export class AnalyticsGeneratorComponent implements OnChanges {
|
||||
|
||||
ngOnChanges() {
|
||||
if (this.reportId && this.reportParamQuery) {
|
||||
this.generateReport(this.reportId, this.reportParamQuery);
|
||||
this.generateReport(`${this.reportId}`, this.reportParamQuery);
|
||||
} else {
|
||||
this.reset();
|
||||
}
|
||||
}
|
||||
|
||||
public generateReport(reportId, reportParamQuery) {
|
||||
public generateReport(reportId: string, reportParamQuery: any) {
|
||||
if (reportParamQuery === undefined || reportParamQuery === null) {
|
||||
reportParamQuery = {};
|
||||
}
|
||||
|
Reference in New Issue
Block a user