diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-06-29 04:07:46 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-06-29 04:07:46 +0800 |
commit | f9540cf48c9f7e42c41e9e1648bb57ee2b5d441f (patch) | |
tree | 7282dd3e8d634a1ffa6da25617a0b18201880c4b /ui/app | |
parent | 697e8c07682574c64111901a54f173be54686d25 (diff) | |
download | tangerine-wallet-browser-f9540cf48c9f7e42c41e9e1648bb57ee2b5d441f.tar tangerine-wallet-browser-f9540cf48c9f7e42c41e9e1648bb57ee2b5d441f.tar.gz tangerine-wallet-browser-f9540cf48c9f7e42c41e9e1648bb57ee2b5d441f.tar.bz2 tangerine-wallet-browser-f9540cf48c9f7e42c41e9e1648bb57ee2b5d441f.tar.lz tangerine-wallet-browser-f9540cf48c9f7e42c41e9e1648bb57ee2b5d441f.tar.xz tangerine-wallet-browser-f9540cf48c9f7e42c41e9e1648bb57ee2b5d441f.tar.zst tangerine-wallet-browser-f9540cf48c9f7e42c41e9e1648bb57ee2b5d441f.zip |
Wallet name now is properly truncated.
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/accounts/account-list-item.js | 2 | ||||
-rw-r--r-- | ui/app/components/account-panel.js | 2 |
2 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 b17bef711..6bba6e145 100644 --- a/ui/app/accounts/account-list-item.js +++ b/ui/app/accounts/account-list-item.js @@ -49,7 +49,7 @@ NewComponent.prototype.render = function () { overflow: 'hidden', textOverflow: 'ellipsis', }, - }, ethUtil.toChecksumAddress(identity.address).substring(0,7)), + }, ethUtil.toChecksumAddress(identity.address)), h(EtherBalance, { value: account.balance, }), diff --git a/ui/app/components/account-panel.js b/ui/app/components/account-panel.js index c69557d62..d50522fa2 100644 --- a/ui/app/components/account-panel.js +++ b/ui/app/components/account-panel.js @@ -48,7 +48,7 @@ AccountPanel.prototype.render = function () { address: panelState.identiconKey, imageify: state.imageifyIdenticons, }), - h('span.font-small', panelState.identiconLabel), + h('span.font-small', panelState.identiconLabel.substring(0, 7) + '...'), ]), // account address, balance |