fix selected version

pull/3094/head
yann300 6 years ago
parent d4675fd5e0
commit 442477a622
  1. 2
      src/app/tabs/compile-tab.js

@ -81,7 +81,7 @@ class CompileTab {
this.compiler.event.register('compilationFinished', (success, data, source) => {
if (success) {
// forwarding the event to the appManager infra
this.events.emit('compilationFinished', source.target, source, this.data.selectedVersion, data)
this.events.emit('compilationFinished', source.target, source, this.compilerContainer.data.selectedVersion, data)
// Store the contracts
this.data.contractsDetails = {}
this.compiler.visitContracts((contract) => {

Loading…
Cancel
Save