From c2636143c3c3f297c8b00e407596841908376331 Mon Sep 17 00:00:00 2001 From: sdtsui Date: Mon, 21 Aug 2017 04:51:55 -0700 Subject: [PATCH] Hook up selected account label display to main wallet view --- ui/app/components/wallet-view.js | 7 +++---- 1 file 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 ]), ]),