|
|
@@ -75,16 +75,9 @@ export class InvestmentsComponent implements OnInit {
|
|
|
}
|
|
|
|
|
|
ngOnInit() {
|
|
|
- this.investmentsService.getProposalInvestmentsList().subscribe(
|
|
|
+ this.investmentsService.getProposalInvestmentsList("portafolio").subscribe(
|
|
|
ans => {
|
|
|
this.listProposals = ans.result;
|
|
|
-
|
|
|
- this.listProposals = this.listProposals.filter(
|
|
|
- proposals =>
|
|
|
- proposals["id_estado_inversion"] != null &&
|
|
|
- proposals["id_estado_inversion"]["codigo"] == "FINAL"
|
|
|
- );
|
|
|
-
|
|
|
this.dataSource.data = this.listProposals;
|
|
|
this.dataSource.paginator = this.paginator;
|
|
|
this.dataSource.sortingDataAccessor = (item, property) => {
|