Merge pull request #484 from ethereum/contractNames

fixed the filename of contracts in the d&r list
fix#470
yann300 4 years ago committed by GitHub
commit e724491b3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/remix-ide/src/app/tabs/runTab/contractDropdown.js

@ -31,7 +31,7 @@ class ContractDropdownUI {
if (success) {
this.selectContractNames.removeAttribute('disabled')
this.dropdownLogic.getCompiledContracts(compiler, compilerFullName).forEach((contract) => {
contractNames.appendChild(yo`<option value="${contract.name}" compiler="${compilerFullName}">${contract.name} - ${file}</option>`)
contractNames.appendChild(yo`<option value="${contract.name}" compiler="${compilerFullName}">${contract.name} - ${contract.file}</option>`)
})
} else {
this.selectContractNames.setAttribute('disabled', true)

Loading…
Cancel
Save