Adam Saghy
2022-05-26 18:33:13 +02:00
committed by GitHub
parent f42b089449
commit 3a63051b35
@@ -89,7 +89,7 @@ export class RecurringDepositProductInterestRateChartStepComponent implements On
assignFormData() { assignFormData() {
this.addChart(); this.addChart();
const isChartArray = Array.isArray(this.recurringDepositProductsTemplate.activeChart); const isChartArray = Array.isArray(this.recurringDepositProductsTemplate.activeChart);
if (this.fixedDepositProductsTemplate.activeChart) { if (this.recurringDepositProductsTemplate.activeChart) {
if (!isChartArray) { if (!isChartArray) {
this.chartDetailData.push(this.recurringDepositProductsTemplate.activeChart); this.chartDetailData.push(this.recurringDepositProductsTemplate.activeChart);
} else { } else {
@@ -103,7 +103,7 @@ export class RecurringDepositProductInterestRateChartStepComponent implements On
// Iterates for every chart in charts // Iterates for every chart in charts
this.charts.controls.forEach((chartDetailControl: FormGroup, i: number) => { this.charts.controls.forEach((chartDetailControl: FormGroup, i: number) => {
if (!chartDetails[i]) { if (!chartsDetail[i]) {
return; return;
} }