mirror of
https://github.com/valitydev/control-center.git
synced 2024-11-06 02:25:17 +00:00
fix (#212)
This commit is contained in:
parent
77708832d8
commit
3d60afc0ea
@ -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({});
|
||||
|
Loading…
Reference in New Issue
Block a user