fix(graph+dashboard): delete console log

This commit is contained in:
Desy Ayurianti 2024-11-04 11:13:08 +07:00
parent a2befa2950
commit 948899a5ef
2 changed files with 0 additions and 2 deletions

View File

@ -93,7 +93,6 @@ export class DashboardComponent implements OnInit {
this.apiService.getLatestData().subscribe(
(response) => {
const data = response.data;
console.log('Data:', data);
if ((!data.dht || data.dht.length === 0) &&
(!data.npk1 || data.npk1.length === 0) &&

View File

@ -156,7 +156,6 @@ export class GraphComponent implements OnInit, AfterViewInit, OnDestroy {
next: (response) => {
this.isLoadingNPK2 = false;
if (response.statusCode === 200 && response.data.npk2?.length > 0) {
console.log(this.selectedNPK2);
this.createChart(this.npk2ChartElement.nativeElement, response, 'npk2', this.selectedNPK2);
this.isNoDataNPK2 = false;
} else {