fix: now able to add charge in shares account (#1944)

This commit is contained in:
Pushpendra
2023-12-24 12:37:26 +05:30
committed by GitHub
parent 77814f03a1
commit 88ef2996b5
@@ -42,7 +42,7 @@ export class SharesAccountChargesStepComponent implements OnInit, OnChanges {
/**
* @param {MatDialog} dialog Mat Dialog
*/
constructor(public dialog: MatDialog) {}
constructor(public dialog: MatDialog) { }
ngOnInit() {
this.currencyCode.valueChanges.subscribe(() => {
@@ -57,7 +57,8 @@ export class SharesAccountChargesStepComponent implements OnInit, OnChanges {
ngOnChanges() {
if (this.sharesAccountProductTemplate) {
this.chargeData = this.sharesAccountProductTemplate.charges;
this.chargeData = this.sharesAccountTemplate.chargeOptions;
this.chargesDataSource = this.sharesAccountProductTemplate.charges;
}
}