diff --git a/src/app/views/detail/database/detail-database.view.ts b/src/app/views/detail/database/detail-database.view.ts
index a5d8a21..e021b26 100644
--- a/src/app/views/detail/database/detail-database.view.ts
+++ b/src/app/views/detail/database/detail-database.view.ts
@@ -93,7 +93,6 @@ export class DetailDatabaseView implements OnInit, OnDestroy {
title: `${this.pipe.transform(new Date(c.start * 1000), 'HH:mm:ss.SSS')} - ${this.pipe.transform(new Date(c.end * 1000), 'HH:mm:ss.SSS')} (${this.durationPipe.transform({start: c.start, end: c.end})})
${c.count ? c.count : ''}
`
}
- console.log(item);
item.type = item.end <= item.start ? 'point' : 'range' // TODO : change this to equals dh_dbt is set to timestamps(6), currently set to timestmap(3)
if (c.exception?.message || c.exception?.type) {
item.className = 'bdd-failed';
diff --git a/src/app/views/statistic/_component/exception-table/statistic-exception-table.component.ts b/src/app/views/statistic/_component/exception-table/statistic-exception-table.component.ts
index 54e0084..af9ede9 100644
--- a/src/app/views/statistic/_component/exception-table/statistic-exception-table.component.ts
+++ b/src/app/views/statistic/_component/exception-table/statistic-exception-table.component.ts
@@ -15,13 +15,9 @@ export class StatisticExceptionTableComponent {
@ViewChild(MatPaginator) paginator: MatPaginator;
@ViewChild(MatSort) sort: MatSort;
-/*.slice(0, 5).map((r: {count: number, errorType: string}) => {
- const index = r?.errorType.lastIndexOf('.') + 1;
- return { count: r.count, class: r?.errorType?.substring(index) };
-})*/
+
@Input() set data(objects: any) {
- console.log(objects)
- if (objects?.length) { //.pipe(map((d: any) => d.slice(0, 5)))
+ if (objects?.length) {
this.dataSource = new MatTableDataSource(objects);
this.dataSource.paginator = this.paginator;
this.dataSource.sort = this.sort;
diff --git a/src/app/views/statistic/database/statistic-database.view.html b/src/app/views/statistic/database/statistic-database.view.html
index 9df0d7f..71ee931 100644
--- a/src/app/views/statistic/database/statistic-database.view.html
+++ b/src/app/views/statistic/database/statistic-database.view.html
@@ -23,28 +23,28 @@
-
-
-
+ [data]="requests.repartitionTimeByPeriodBar?.data || []" [isLoading]="requests.repartitionTimeByPeriodBar?.isLoading" />
+ [data]="requests.repartitionTimePie?.data || []" [isLoading]="requests.repartitionTimePie?.isLoading" />
@@ -54,7 +54,7 @@
[isLoading]="requests.usersInfo?.isLoading" />
-->
-
+