This commit is contained in:
+2
-2
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user