Skip to content

Commit

Permalink
fix: now able to add charge in shares account (#1944)
Browse files Browse the repository at this point in the history
  • Loading branch information
PC-11-00 authored Dec 24, 2023
1 parent 77814f0 commit 88ef299
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand All @@ -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;
}
}

Expand Down

0 comments on commit 88ef299

Please sign in to comment.