diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-12-24 09:22:46 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-12-24 09:23:33 +0800 |
commit | c05e04c611f44ff8bef2f1d617cb79d2a5157f2a (patch) | |
tree | 1d0b8ac362c8c88601417741c52127a4ac8b0066 /ui/app/accounts | |
parent | f6748f043d6356258600dd57918c57b6c10378e1 (diff) | |
download | tangerine-wallet-browser-c05e04c611f44ff8bef2f1d617cb79d2a5157f2a.tar tangerine-wallet-browser-c05e04c611f44ff8bef2f1d617cb79d2a5157f2a.tar.gz tangerine-wallet-browser-c05e04c611f44ff8bef2f1d617cb79d2a5157f2a.tar.bz2 tangerine-wallet-browser-c05e04c611f44ff8bef2f1d617cb79d2a5157f2a.tar.lz tangerine-wallet-browser-c05e04c611f44ff8bef2f1d617cb79d2a5157f2a.tar.xz tangerine-wallet-browser-c05e04c611f44ff8bef2f1d617cb79d2a5157f2a.tar.zst tangerine-wallet-browser-c05e04c611f44ff8bef2f1d617cb79d2a5157f2a.zip |
Fix rendering of loose accounts
Diffstat (limited to 'ui/app/accounts')
-rw-r--r-- | ui/app/accounts/account-list-item.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/accounts/account-list-item.js b/ui/app/accounts/account-list-item.js index 624e34581..16019c88a 100644 --- a/ui/app/accounts/account-list-item.js +++ b/ui/app/accounts/account-list-item.js @@ -50,7 +50,7 @@ AccountListItem.prototype.render = function () { }, }, ethUtil.toChecksumAddress(identity.address)), h(EthBalance, { - value: account.balance, + value: account && account.balance, style: { lineHeight: '7px', marginTop: '10px', @@ -76,7 +76,7 @@ AccountListItem.prototype.indicateIfLoose = function () { try { // Sometimes keyrings aren't loaded yet: const type = this.props.keyring.type const isLoose = type !== 'HD Key Tree' - return isLoose ? h('.pending-dot', 'LOOSE') : null + return isLoose ? h('.keyring-label', 'LOOSE') : null } catch (e) { return } } |