|
|
|
|
@ -345,8 +345,10 @@ export class HomeComponent implements OnInit {
|
|
|
|
|
arrayToFilter = this.newWorkListResponse.filter((workList) => {
|
|
|
|
|
return workList.ITEM_TYPE === filter;
|
|
|
|
|
});
|
|
|
|
|
const sortData = this.sortArray(arrayToFilter);
|
|
|
|
|
this.showFormattedData = this.categorizeData(sortData);
|
|
|
|
|
const categorizeData = this.categorizeData(arrayToFilter);
|
|
|
|
|
this.showFormattedData = this.sortArray(categorizeData);
|
|
|
|
|
// const sortData = this.sortArray(arrayToFilter);
|
|
|
|
|
// this.showFormattedData = this.categorizeData(sortData);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|