tambah versi dan perbaikan router get dari API

This commit is contained in:
2024-05-20 15:01:00 +07:00
parent 7bf0474fbb
commit 1a11e3f50c
3 changed files with 5 additions and 5 deletions

View File

@@ -48,9 +48,8 @@ export class DeviceComponent implements OnInit {
fetchData() {
this.monitoringApiService.getDeviceData().subscribe((res) => {
console.log(res);
this.data = res;
this.filteredRows = this.data.data;
this.filteredRows = this.data.results.data;
});
}