Skip to content

Commit

Permalink
Merge pull request #2048 from ethereum/fixAccountListLoad
Browse files Browse the repository at this point in the history
fix AccountList Loading
  • Loading branch information
yann300 authored May 29, 2019
2 parents bfd497f + 93fe691 commit 0351eb1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app/tabs/runTab/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,11 @@ class SettingsUI {

setInterval(() => {
this.updateNetwork()
this.fillAccountsList()
}, 5000)

this.el = el

this.fillAccountsList()
return el
}

Expand Down Expand Up @@ -198,7 +199,6 @@ class SettingsUI {
this.selectExEnv.value = this.settings.getProvider()
this.event.trigger('clearInstance', [])
this.updateNetwork()
this.fillAccountsList()
this.updatePlusButton()
}

Expand Down Expand Up @@ -310,6 +310,7 @@ class SettingsUI {
let network = this._deps.networkModule.getNetworkProvider
this.netUI.innerHTML = (network() !== 'vm') ? `${name} (${id || '-'}) network` : ''
})
this.fillAccountsList()
}

// TODO: unclear what's the goal of accountListCallId, feels like it can be simplified
Expand Down

0 comments on commit 0351eb1

Please sign in to comment.