Rename item to account.
This commit is contained in:
parent
c6a406272f
commit
5960e9ee77
@ -51,9 +51,9 @@ export class AccountController {
|
|||||||
|
|
||||||
load() {
|
load() {
|
||||||
this.AccountService.query().subscribe(accounts => {
|
this.AccountService.query().subscribe(accounts => {
|
||||||
this.accounts = accounts.map((item: Account) => {
|
this.accounts = accounts.map((account: Account) => {
|
||||||
item.balances = this.AccountBalances.get({id: item.id});
|
account.balances = this.AccountBalances.get({id: account.id});
|
||||||
return item;
|
return account;
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user