aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/account-menu/index.js
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-10-24 15:13:49 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-10-24 15:13:49 +0800
commit4401800a42eccbd77f11b332e1052431328401bb (patch)
treed5ff4c3e0938f9285ed76ab57e09a6f9fb474392 /ui/app/components/account-menu/index.js
parenta63373401b9983b991d4b2a0e28eec8d66c18e78 (diff)
downloadtangerine-wallet-browser-4401800a42eccbd77f11b332e1052431328401bb.tar
tangerine-wallet-browser-4401800a42eccbd77f11b332e1052431328401bb.tar.gz
tangerine-wallet-browser-4401800a42eccbd77f11b332e1052431328401bb.tar.bz2
tangerine-wallet-browser-4401800a42eccbd77f11b332e1052431328401bb.tar.lz
tangerine-wallet-browser-4401800a42eccbd77f11b332e1052431328401bb.tar.xz
tangerine-wallet-browser-4401800a42eccbd77f11b332e1052431328401bb.tar.zst
tangerine-wallet-browser-4401800a42eccbd77f11b332e1052431328401bb.zip
Account menu white check mark
Diffstat (limited to 'ui/app/components/account-menu/index.js')
-rw-r--r--ui/app/components/account-menu/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/account-menu/index.js b/ui/app/components/account-menu/index.js
index 45e39e8ba..da2c86233 100644
--- a/ui/app/components/account-menu/index.js
+++ b/ui/app/components/account-menu/index.js
@@ -98,14 +98,14 @@ AccountMenu.prototype.renderAccounts = function () {
const {
identities,
accounts,
- selected,
+ selectedAddress,
keyrings,
showAccountDetail,
} = this.props
return Object.keys(identities).map((key, index) => {
const identity = identities[key]
- const isSelected = identity.address === selected
+ const isSelected = identity.address === selectedAddress
const balanceValue = accounts[key] ? accounts[key].balance : ''
const formattedBalance = balanceValue ? formatBalance(balanceValue, 6) : '...'
@@ -121,7 +121,7 @@ AccountMenu.prototype.renderAccounts = function () {
{ onClick: () => showAccountDetail(identity.address) },
[
h('div.account-menu__check-mark', [
- isSelected ? h('i.fa.fa-check') : null,
+ isSelected ? h('div.account-menu__check-mark-icon') : null,
]),
h(