fixed the filename of contracts in the d&r list

pull/484/head
LianaHus 4 years ago
parent c46c916583
commit 56ea056022
  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