|
|
|
|
@ -223,6 +223,7 @@ export class HomeComponent implements OnInit {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
this.showChart = true;
|
|
|
|
|
this.common.stopLoading();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
activeFilter(index: number) {
|
|
|
|
|
@ -427,11 +428,10 @@ export class HomeComponent implements OnInit {
|
|
|
|
|
let categorizedWorkListResponse = [];
|
|
|
|
|
categorizedWorkListResponse = this.categorizeData(this.newWorkListResponse);
|
|
|
|
|
if (categorizedWorkListResponse.length > 0) {
|
|
|
|
|
this.assignDataToFilters();
|
|
|
|
|
this.showFormattedData = this.sortArray(categorizedWorkListResponse);
|
|
|
|
|
this.allFormattedData = this.showFormattedData;
|
|
|
|
|
this.common.sharedService.setSharedData(this.newWorkListResponse, HomeComponent.NOTIFICATION_ARR);
|
|
|
|
|
this.common.stopLoading();
|
|
|
|
|
this.assignDataToFilters();
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
this.newWorkListResponse = [];
|
|
|
|
|
|