perbaikan master

This commit is contained in:
2024-07-03 13:01:36 +07:00
parent b095f870dd
commit a1b259ac9f
12 changed files with 42 additions and 30 deletions

View File

@@ -45,7 +45,8 @@ export class MasterBuildingComponent {
fetchData() {
this.monitoringApiService.getMasterBuildingData().subscribe((res) => {
this.data = res.results.data;
this.filteredRows = this.data;
// this.filteredRows = this.data;
this.filteredRows = this.data.sort((a, b) => b.id - a.id);
});
}