From 3a63051b356d4bb874406de41bc98e6a14b70968 Mon Sep 17 00:00:00 2001 From: Adam Saghy Date: Thu, 26 May 2022 18:33:13 +0200 Subject: [PATCH] https://github.com/openMF/web-app/issues/1406 --- ...ring-deposit-product-interest-rate-chart-step.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-interest-rate-chart-step/recurring-deposit-product-interest-rate-chart-step.component.ts b/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-interest-rate-chart-step/recurring-deposit-product-interest-rate-chart-step.component.ts index 23de818aa..c49997359 100644 --- a/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-interest-rate-chart-step/recurring-deposit-product-interest-rate-chart-step.component.ts +++ b/src/app/products/recurring-deposit-products/recurring-deposit-product-stepper/recurring-deposit-product-interest-rate-chart-step/recurring-deposit-product-interest-rate-chart-step.component.ts @@ -89,7 +89,7 @@ export class RecurringDepositProductInterestRateChartStepComponent implements On assignFormData() { this.addChart(); const isChartArray = Array.isArray(this.recurringDepositProductsTemplate.activeChart); - if (this.fixedDepositProductsTemplate.activeChart) { + if (this.recurringDepositProductsTemplate.activeChart) { if (!isChartArray) { this.chartDetailData.push(this.recurringDepositProductsTemplate.activeChart); } else { @@ -103,7 +103,7 @@ export class RecurringDepositProductInterestRateChartStepComponent implements On // Iterates for every chart in charts this.charts.controls.forEach((chartDetailControl: FormGroup, i: number) => { - if (!chartDetails[i]) { + if (!chartsDetail[i]) { return; }