From a9dd983f53d17116ce2eedaec65a278964c4c516 Mon Sep 17 00:00:00 2001 From: Lucas Lara Date: Tue, 18 Mar 2025 14:31:38 +0100 Subject: [PATCH] Refactor Global Status component to remove unnecessary console logs and clean up disk usage chart data handling --- .../components/global-status/global-status.component.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ogWebconsole/src/app/components/global-status/global-status.component.ts b/ogWebconsole/src/app/components/global-status/global-status.component.ts index 5f116cb..a4ea841 100644 --- a/ogWebconsole/src/app/components/global-status/global-status.component.ts +++ b/ogWebconsole/src/app/components/global-status/global-status.component.ts @@ -47,16 +47,10 @@ export class GlobalStatusComponent implements OnInit { this.ogBootSubnets = data.message.subnets; this.ogBootServicesStatus = data.message.services_status; this.installedOgLives = data.message.installed_oglives; - - // Actualizar los datos de la gráfica this.diskUsageChartData = [ { name: 'Usado', value: parseFloat(this.ogBootDiskUsage.used) }, { name: 'Disponible', value: parseFloat(this.ogBootDiskUsage.available) } ]; - - console.log('Disk Usage Chart Data:', this.diskUsageChartData); - console.log('Services Status:', this.ogBootServicesStatus); - this.loading = false; }, error: error => { @@ -81,7 +75,6 @@ export class GlobalStatusComponent implements OnInit { name: key, status: this.ogBootServicesStatus[key] })) - console.log(services); return services; }