fix: now able to add charge in shares account (#1944)
This commit is contained in:
+3
-2
@@ -42,7 +42,7 @@ export class SharesAccountChargesStepComponent implements OnInit, OnChanges {
|
|||||||
/**
|
/**
|
||||||
* @param {MatDialog} dialog Mat Dialog
|
* @param {MatDialog} dialog Mat Dialog
|
||||||
*/
|
*/
|
||||||
constructor(public dialog: MatDialog) {}
|
constructor(public dialog: MatDialog) { }
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.currencyCode.valueChanges.subscribe(() => {
|
this.currencyCode.valueChanges.subscribe(() => {
|
||||||
@@ -57,7 +57,8 @@ export class SharesAccountChargesStepComponent implements OnInit, OnChanges {
|
|||||||
|
|
||||||
ngOnChanges() {
|
ngOnChanges() {
|
||||||
if (this.sharesAccountProductTemplate) {
|
if (this.sharesAccountProductTemplate) {
|
||||||
this.chargeData = this.sharesAccountProductTemplate.charges;
|
this.chargeData = this.sharesAccountTemplate.chargeOptions;
|
||||||
|
this.chargesDataSource = this.sharesAccountProductTemplate.charges;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user