diff --git a/src/app/tabs/runTab/contractDropdown.js b/src/app/tabs/runTab/contractDropdown.js
index 94d84d0179..ab9aa864ea 100644
--- a/src/app/tabs/runTab/contractDropdown.js
+++ b/src/app/tabs/runTab/contractDropdown.js
@@ -17,14 +17,14 @@ class ContractDropdownUI {
}
listenToEvents () {
- this.dropdownLogic.event.register('newlyCompiled', (success, data, source, compiler, compilerFullName) => {
+ this.dropdownLogic.event.register('newlyCompiled', (success, data, source, compiler, compilerFullName, file) => {
if (!document.querySelector(`.${css.contractNames.classNames[0]}`)) return
var contractNames = document.querySelector(`.${css.contractNames.classNames[0]}`)
contractNames.innerHTML = ''
if (success) {
this.selectContractNames.removeAttribute('disabled')
this.dropdownLogic.getCompiledContracts(compiler, compilerFullName).forEach((contract) => {
- contractNames.appendChild(yo``)
+ contractNames.appendChild(yo``)
})
} else {
this.selectContractNames.setAttribute('disabled', true)