|
|
|
@ -297,7 +297,16 @@ export function UniversalDappUI(props: UdappProps) { |
|
|
|
|
<label> |
|
|
|
|
<b><FormattedMessage id="udapp.balance" />:</b> {instanceBalance} ETH |
|
|
|
|
</label> |
|
|
|
|
{props.exEnvironment && props.exEnvironment.startsWith('injected') && <i className="fas fa-edit btn btn-sm p-0" onClick={() => {props.editInstance(props.instance)}}></i>} |
|
|
|
|
{props.exEnvironment && props.exEnvironment.startsWith('injected') && ( |
|
|
|
|
<CustomTooltip placement="top" tooltipClasses="text-nowrap" tooltipId="udapp_udappEditTooltip" tooltipText={<FormattedMessage id="udapp.tooltipTextEdit" />}> |
|
|
|
|
<i |
|
|
|
|
className="fas fa-edit btn btn-sm p-0" |
|
|
|
|
onClick={() => { |
|
|
|
|
props.editInstance(props.instance) |
|
|
|
|
}} |
|
|
|
|
></i> |
|
|
|
|
</CustomTooltip> |
|
|
|
|
)} |
|
|
|
|
</div> |
|
|
|
|
{ props.isPinnedContract && props.instance.pinnedAt ? ( |
|
|
|
|
<div className="d-flex" data-id="instanceContractPinnedAt"> |
|
|
|
|