Commit a6751560 authored by yann300's avatar yann300

use the provided name when rendering the contract instance

parent 4d6d76dc
......@@ -155,7 +155,7 @@ class ContractDropdownUI {
return this.logCallback(error)
}
this.event.trigger('newContractInstanceAdded', [contractObject, address, this.selectContractNames.value])
this.event.trigger('newContractInstanceAdded', [contractObject, address, contractObject.name])
}
if (selectedContract.isOverSizeLimit()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment