From f330fa750181bd806cb9066370eb3f26f85a3298 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 22 Aug 2019 10:33:31 +0200 Subject: [PATCH] add file name --- src/app/tabs/runTab/contractDropdown.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)