|
|
|
@ -315,12 +315,11 @@ export function ContractDropdownUI (props: ContractDropdownProps) { |
|
|
|
|
tooltipId="remixUdappContractNamesTooltip" |
|
|
|
|
tooltipText={contractOptions.title} |
|
|
|
|
> |
|
|
|
|
<div id="udappcontractNamesWrapper" className="w-100"> |
|
|
|
|
<select ref={contractsRef} |
|
|
|
|
value={currentContract} |
|
|
|
|
name={contractOptions.title.toString()} |
|
|
|
|
onChange={handleContractChange} |
|
|
|
|
className="udapp_contractNames custom-select" |
|
|
|
|
className="udapp_contractNames w-100 custom-select" |
|
|
|
|
disabled={contractOptions.disabled} |
|
|
|
|
style={{ display: loadType === 'abi' && !isContractFile(currentFile) ? 'none' : 'block', pointerEvents: contractOptions.disabled ? 'none' : 'auto' }} |
|
|
|
|
> |
|
|
|
@ -331,7 +330,6 @@ export function ContractDropdownUI (props: ContractDropdownProps) { |
|
|
|
|
</option> |
|
|
|
|
})} |
|
|
|
|
</select> |
|
|
|
|
</div> |
|
|
|
|
</CustomTooltip> |
|
|
|
|
<span className="py-1" style={{ display: abiLabel.display }}>{abiLabel.content}</span> |
|
|
|
|
</div> |
|
|
|
|