fix property location
This commit is contained in:
parent
d9fc683525
commit
fdcf4c3ab0
1 changed files with 6 additions and 5 deletions
|
@ -257,6 +257,7 @@ class Account {
|
|||
|
||||
get id() { return this._id; }
|
||||
get balance() { return this._balance; }
|
||||
get balance_ukf() { return amountToUKF(this.balance, this.is_cof); }
|
||||
get is_cof() { return this._is_cof; }
|
||||
get is_frozen() { return this._is_frozen; }
|
||||
|
||||
|
@ -339,7 +340,7 @@ class AccountFormatter {
|
|||
class StandardAccountFormatter extends AccountFormatter {
|
||||
|
||||
get str_balance_ukf() {
|
||||
return amountToUKF(this._account.balance, this._account.is_cof);
|
||||
return this._account.balance_ukf;
|
||||
}
|
||||
|
||||
get str_is_cof() {
|
||||
|
|
Loading…
Reference in a new issue