diff options
author | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-21 19:51:55 +0800 |
---|---|---|
committer | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-21 19:51:55 +0800 |
commit | c2636143c3c3f297c8b00e407596841908376331 (patch) | |
tree | 83e83543702d62c6a81c5745cf9319bef7db55c6 /ui/app/components | |
parent | d82233b95c5c3c4297a2d18b981ec6188de003c1 (diff) | |
download | tangerine-wallet-browser-c2636143c3c3f297c8b00e407596841908376331.tar tangerine-wallet-browser-c2636143c3c3f297c8b00e407596841908376331.tar.gz tangerine-wallet-browser-c2636143c3c3f297c8b00e407596841908376331.tar.bz2 tangerine-wallet-browser-c2636143c3c3f297c8b00e407596841908376331.tar.lz tangerine-wallet-browser-c2636143c3c3f297c8b00e407596841908376331.tar.xz tangerine-wallet-browser-c2636143c3c3f297c8b00e407596841908376331.tar.zst tangerine-wallet-browser-c2636143c3c3f297c8b00e407596841908376331.zip |
Hook up selected account label display to main wallet view
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/wallet-view.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ui/app/components/wallet-view.js b/ui/app/components/wallet-view.js index a92ec418e..9fe827da2 100644 --- a/ui/app/components/wallet-view.js +++ b/ui/app/components/wallet-view.js @@ -39,10 +39,9 @@ function WalletView () { const noop = () => {} WalletView.prototype.render = function () { - const { network, responsiveDisplayClassname, style, identities, selectedAddress, selectedAccount, accounts } = this.props - + const { network, responsiveDisplayClassname, style, identities, selectedAddress, selectedAccount, accounts, selectedIdentity } = this.props // temporary logs + fake extra wallets - console.log(selectedAccount) + console.log("walletview, selectedAccount:", selectedAccount) const extraWallet = h('div.flex-column.wallet-balance-wrapper', {}, [ h('div.wallet-balance', {}, [ @@ -121,7 +120,7 @@ WalletView.prototype.render = function () { h('span.account-name', { style: {} }, [ - 'Account 1' + selectedIdentity.name ]), ]), |