From 3d60afc0ea3b2b9a8967dd768ea03324174b9cb3 Mon Sep 17 00:00:00 2001 From: Rinat Arsaev <11846445+A77AY@users.noreply.github.com> Date: Tue, 11 Apr 2023 13:48:49 +0400 Subject: [PATCH] fix (#212) --- src/app/sections/wallets/wallets.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/sections/wallets/wallets.component.ts b/src/app/sections/wallets/wallets.component.ts index 195b8a62..1fb38a8f 100644 --- a/src/app/sections/wallets/wallets.component.ts +++ b/src/app/sections/wallets/wallets.component.ts @@ -83,7 +83,9 @@ export class WalletsComponent implements OnInit { @Memoize() getBalance(walletId: string) { return this.walletManagementService.Get(walletId, {}).pipe( - switchMap((wallet) => this.accounterService.GetAccountByID(Number(wallet.account.id))), + switchMap((wallet) => + this.accounterService.GetAccountByID(Number(wallet.account.accounter_account_id)) + ), catchError((err) => { this.errorService.error(err); return of({});