diff options
Add UI for Signing Messages
Calls to `eth.sign` are now transiently persisted in memory, and displayed in a chronological stack with pending transactions (which are still persisted to disk).
This allows the user a method to sign/cancel transactions even if they miss the Chrome notification.
Improved a lot of the view routing, to avoid cases where routes would show an empty account view, or transition to the accounts list when it shouldn't.
Broke the transaction approval view into a couple components so messages and transactions could have their own templates.
Diffstat (limited to 'ui/app/account-detail.js')
-rw-r--r-- | ui/app/account-detail.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js index 250e7318c..a876b275f 100644 --- a/ui/app/account-detail.js +++ b/ui/app/account-detail.js @@ -13,7 +13,7 @@ function mapStateToProps(state) { return { identities: state.metamask.identities, accounts: state.metamask.accounts, - address: state.appState.currentView.context, + address: state.metamask.selectedAccount, accountDetail: state.appState.accountDetail, transactions: state.metamask.transactions, networkVersion: state.metamask.network, @@ -27,6 +27,7 @@ function AccountDetailScreen() { AccountDetailScreen.prototype.render = function() { var state = this.props + var selected = state.address || Object.keys(state.accounts[0]).address var identity = state.identities[state.address] var account = state.accounts[state.address] var accountDetail = state.accountDetail |