When no account is selected, show accounts view

feature/default_network_editable
Dan Finlay 9 years ago
parent 7497b2c813
commit 781334da47
  1. 5
      ui/app/reducers/app.js

@ -7,10 +7,11 @@ module.exports = reduceApp
function reduceApp(state, action) { function reduceApp(state, action) {
// clone and defaults // clone and defaults
const selectedAccount = state.metamask.selectedAccount
var defaultView = { var defaultView = {
name: 'accountDetail', name: selectedAccount ? 'accountDetail' : 'accounts',
detailView: null, detailView: null,
context: state.metamask.selectedAccount, context: selectedAccount,
} }
// confirm seed words // confirm seed words

Loading…
Cancel
Save