don't reset udapp when non-sol file are selected

pull/1663/head
yann300 3 years ago
parent d5d8e90b07
commit cfc338f433
  1. 9
      apps/remix-ide/src/app/tabs/runTab/contractDropdown.js

@ -218,11 +218,12 @@ class ContractDropdownUI {
if (this.selectContractNames.value === '') this.enableAtAddress(false) if (this.selectContractNames.value === '') this.enableAtAddress(false)
} else { } else {
this.loadType = 'other' this.loadType = 'other'
this.createPanel.style.display = 'none' this.createPanel.style.display = 'block'
this.orLabel.style.display = 'none' this.orLabel.style.display = 'block'
this.compFails.style.display = 'none' this.contractNamesContainer.style.display = 'block'
this.contractNamesContainer.style.display = 'none' this.selectContractNames.style.display = 'block'
this.abiLabel.style.display = 'none' this.abiLabel.style.display = 'none'
if (this.selectContractNames.value === '') this.enableAtAddress(false)
} }
} }

Loading…
Cancel
Save