|
@@ -81,6 +81,11 @@ export class InvestmentsComponent implements OnInit {
|
|
|
this.investmentsService.getProposalInvestmentsList().subscribe(
|
|
this.investmentsService.getProposalInvestmentsList().subscribe(
|
|
|
ans => {
|
|
ans => {
|
|
|
this.listProposals = ans.result;
|
|
this.listProposals = ans.result;
|
|
|
|
|
+
|
|
|
|
|
+ this.listProposals = this.listProposals.filter(
|
|
|
|
|
+ proposals => proposals["id_estado_inversion"]["codigo"] == "FINAL"
|
|
|
|
|
+ );
|
|
|
|
|
+
|
|
|
console.log(this.listProposals);
|
|
console.log(this.listProposals);
|
|
|
this.dataSource.data = this.listProposals;
|
|
this.dataSource.data = this.listProposals;
|
|
|
|
|
|