aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-06-29 04:07:46 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-06-29 04:07:46 +0800
commitf9540cf48c9f7e42c41e9e1648bb57ee2b5d441f (patch)
tree7282dd3e8d634a1ffa6da25617a0b18201880c4b /ui/app
parent697e8c07682574c64111901a54f173be54686d25 (diff)
downloadtangerine-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.js2
-rw-r--r--ui/app/components/account-panel.js2
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