mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
#1174 Add update report endpoint
This commit is contained in:
@@ -46,7 +46,7 @@ export class AnalyticsComponent implements OnChanges {
|
||||
|
||||
reportParamQuery = new ReportQuery();
|
||||
|
||||
reports: any[];
|
||||
reports: Chart[];
|
||||
|
||||
public barChartOptions: any = {
|
||||
responsive: true,
|
||||
@@ -107,4 +107,8 @@ export class AnalyticsComponent implements OnChanges {
|
||||
let clone = JSON.parse(JSON.stringify(report));
|
||||
report.datasets = clone.datasets;
|
||||
}
|
||||
|
||||
public editReport(report: Chart) {
|
||||
console.log(report);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user