fix(graph+dashboard): delete console log
This commit is contained in:
parent
a2befa2950
commit
948899a5ef
|
|
@ -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) &&
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user