From dafd81ecbf79fc3bac1d8a6f0deebce8658e3667 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Sun, 28 Oct 2018 13:43:29 +0100 Subject: [PATCH] Fix contract deployment headers This will make the only linkable section of the title be the contract name. --- embark-ui/src/components/ContractsDeployment.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/embark-ui/src/components/ContractsDeployment.js b/embark-ui/src/components/ContractsDeployment.js index dcdca38c..c7e776db 100644 --- a/embark-ui/src/components/ContractsDeployment.js +++ b/embark-ui/src/components/ContractsDeployment.js @@ -160,10 +160,10 @@ class Web3Contract extends React.Component { const EmbarkContract = ({contract, toggleContractOverview}) => ( toggleContractOverview(contract)}> - {contract.address && `${contract.className} deployed at ${contract.address}`} - {!contract.address && `${contract.className} not deployed`} - + + toggleContractOverview(contract)}>{contract.className}  + {contract.address && `deployed at ${contract.address}` || "not deployed"} + }> {contract.address &&

Arguments: {JSON.stringify(contract.args)}

} {contract.transactionHash &&