dev smartfarming #1

Merged
agrilink merged 53 commits from development into main 2024-12-30 05:53:19 +00:00
2 changed files with 0 additions and 2 deletions
Showing only changes of commit 948899a5ef - Show all commits

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 {