|
|
@ -37,12 +37,11 @@ const showTable = (opts, showTableHash) => { |
|
|
|
const val = opts.val != null ? typeConversion.toInt(opts.val) : 0 |
|
|
|
const val = opts.val != null ? typeConversion.toInt(opts.val) : 0 |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<table className={`txTable ${showTableHash.includes(opts.hash) ? 'active' : ''}`} id='txTable' data-id={`txLoggerTable${opts.hash}`}> |
|
|
|
<table className={`txTable ${showTableHash.includes(opts.hash) ? 'active' : ''}`} id='txTable' data-id={`txLoggerTable${opts.hash}`}> |
|
|
|
<tbody> |
|
|
|
<tbody>{ opts.status !== undefined ? (<tr className='tr'> |
|
|
|
<tr className='tr'> |
|
|
|
|
|
|
|
<td className='td' data-shared={`key_${opts.hash}`}>status</td> |
|
|
|
<td className='td' data-shared={`key_${opts.hash}`}>status</td> |
|
|
|
<td className='td' data-id={`txLoggerTableStatus${opts.hash}`} data-shared={`pair_${opts.hash}`}>{`${opts.status} ${msg}`}</td> |
|
|
|
<td className='td' data-id={`txLoggerTableStatus${opts.hash}`} data-shared={`pair_${opts.hash}`}>{`${opts.status} ${msg}`}</td> |
|
|
|
</tr> |
|
|
|
</tr>) : null } |
|
|
|
{opts.hash ? (<tr className='tr'> |
|
|
|
{opts.hash && !opts.isCall ? (<tr className='tr'> |
|
|
|
<td className='td' data-shared={`key_${opts.hash}`}>transaction hash</td> |
|
|
|
<td className='td' data-shared={`key_${opts.hash}`}>transaction hash</td> |
|
|
|
<td className='td' data-id={`txLoggerTableHash${opts.hash}`} data-shared={`pair_${opts.hash}`}>{opts.hash} |
|
|
|
<td className='td' data-id={`txLoggerTableHash${opts.hash}`} data-shared={`pair_${opts.hash}`}>{opts.hash} |
|
|
|
<CopyToClipboard content={opts.hash}/> |
|
|
|
<CopyToClipboard content={opts.hash}/> |
|
|
|