Skip to content

Commit

Permalink
Merge pull request #484 from ethereum/contractNames
Browse files Browse the repository at this point in the history
fixed the filename of contracts in the d&r list
  • Loading branch information
yann300 authored Oct 19, 2020
2 parents be9ab95 + 56ea056 commit e724491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/remix-ide/src/app/tabs/runTab/contractDropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e724491

Please sign in to comment.