perbaikan master
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user