optimize ui loading and dashboard performance
This commit is contained in:
@@ -14,6 +14,12 @@ export class DashboardController {
|
||||
return this.dashboardService.summary();
|
||||
}
|
||||
|
||||
@Get('overview')
|
||||
@RequirePermissions('dashboard.view')
|
||||
overview(@Query() query: { hours?: string; bucketMinutes?: string }) {
|
||||
return this.dashboardService.overview(query);
|
||||
}
|
||||
|
||||
@Get('trends')
|
||||
@RequirePermissions('dashboard.view')
|
||||
trends(@Query() query: { hours?: string; bucketMinutes?: string }) {
|
||||
|
||||
Reference in New Issue
Block a user