aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
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