Fix for account id parameter in account tabs (#1711)
Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
7b9e036f01
commit
0f450262b9
@@ -56,7 +56,9 @@ export class SavingAccountActionsComponent {
|
||||
*/
|
||||
constructor(private route: ActivatedRoute) {
|
||||
this.route.data.subscribe((data: { savingsAccountActionData: any }) => {
|
||||
this.currencyCode = data.savingsAccountActionData.currency.code;
|
||||
if (data.savingsAccountActionData) {
|
||||
this.currencyCode = data.savingsAccountActionData.currency.code;
|
||||
}
|
||||
});
|
||||
const name = this.route.snapshot.params['name'];
|
||||
this.actions[name] = true;
|
||||
|
||||
Reference in New Issue
Block a user