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

@@ -47,8 +47,8 @@ export class MasterCategoryComponent implements OnInit {
fetchData() {
this.monitoringApiService.getMasterData().subscribe((res) => {
this.data = res.data.data;
this.dataMasterCategori = res.data.data.find(
this.data = res.results.data;
this.dataMasterCategori = res.results.data.find(
(item) => item.name === "master_category"
);
this.filteredRows = this.dataMasterCategori.headerDetailParam;