From 4987385629b6ba666ebf4af0c76d066a727d1822 Mon Sep 17 00:00:00 2001 From: Artem Dychenko <s192441@student.pg.edu.pl> Date: Mon, 24 Mar 2025 18:11:32 +0100 Subject: [PATCH] mod: remove debugging console log messages --- .../components/dashboard-charts/dashboard-charts.component.ts | 1 - .../dashboard-statistics/dashboard-statistics.component.scss | 1 + .../dashboard-statistics/dashboard-statistics.component.ts | 1 - src/app/service/settings.service.ts | 2 +- 4 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/components/dashboard-charts/dashboard-charts.component.ts b/src/app/components/dashboard-charts/dashboard-charts.component.ts index a332749..91d3680 100644 --- a/src/app/components/dashboard-charts/dashboard-charts.component.ts +++ b/src/app/components/dashboard-charts/dashboard-charts.component.ts @@ -39,7 +39,6 @@ export class DashboardChartsComponent { constructor() { this.settingsService.settingsObserver$.subscribe(settings => { this.settings = settings; - console.log('Settings received in charts:', this.settings); }); } diff --git a/src/app/components/dashboard-statistics/dashboard-statistics.component.scss b/src/app/components/dashboard-statistics/dashboard-statistics.component.scss index 1814cde..6c25990 100644 --- a/src/app/components/dashboard-statistics/dashboard-statistics.component.scss +++ b/src/app/components/dashboard-statistics/dashboard-statistics.component.scss @@ -6,6 +6,7 @@ display: flex; flex-direction: row; gap: map.get(vars.$spacing, 'md'); + ::ng-deep * { height: 50px; } diff --git a/src/app/components/dashboard-statistics/dashboard-statistics.component.ts b/src/app/components/dashboard-statistics/dashboard-statistics.component.ts index ba39e03..df46c05 100644 --- a/src/app/components/dashboard-statistics/dashboard-statistics.component.ts +++ b/src/app/components/dashboard-statistics/dashboard-statistics.component.ts @@ -38,7 +38,6 @@ export class DashboardStatisticsComponent implements OnInit { ngOnInit() { this.settingsService.settingsObserver$.subscribe(settings => { this.settings = settings; - console.log('Settings received in Dashboard:', this.settings); }); } diff --git a/src/app/service/settings.service.ts b/src/app/service/settings.service.ts index 8c8d3e1..77ad00c 100644 --- a/src/app/service/settings.service.ts +++ b/src/app/service/settings.service.ts @@ -1,4 +1,4 @@ -import { Injectable, OnInit } from '@angular/core'; +import { Injectable } from '@angular/core'; import { BehaviorSubject } from 'rxjs'; import { Settings } from '../models/settings'; -- GitLab