Selaa lähdekoodia

Merge branch 'features-o' of onunez/frontend-inversiones into development

Oscar José Nuñez Chávez 5 vuotta sitten
vanhempi
commit
2391dad47c
1 muutettua tiedostoa jossa 0 lisäystä ja 9 poistoa
  1. 0 9
      src/app/components/instruments/pper/pper.component.ts

+ 0 - 9
src/app/components/instruments/pper/pper.component.ts

@@ -115,7 +115,6 @@ export class PPER implements InstrumentComponent {
   pago_seguro_vivienda: any;
   total_cuotas_mensuales: any;
   cuota_sin_seguros: any;
-  proyecciones_array: any;
 
   constructor(
     private formBuilder: FormBuilder,
@@ -129,14 +128,6 @@ export class PPER implements InstrumentComponent {
     this.instrument_exists = this.instrument_work == undefined;
     this.general = this.formDataService.getGeneralInfo();
 
-    this.proyecciones_array = Object.values(
-      this.instrument_work.proyecciones
-    ).map(a => Object.values(a).every(x => x === null || x === ""));
-
-    this.proyecciones_array = this.proyecciones_array.toString() === true;
-
-    console.log(this.proyecciones_array);
-
     if (
       this.instrument_work != undefined &&
       this.instrument_work.proyecciones != ""