Commit f36049e4 authored by zeroleak's avatar zeroleak
Browse files

cleanup

parent 34d4e9b4
...@@ -134,7 +134,7 @@ const UtxosTable = ({ controls, pool, mixs, account, utxos, tableKey }) => { ...@@ -134,7 +134,7 @@ const UtxosTable = ({ controls, pool, mixs, account, utxos, tableKey }) => {
accessor: o => o.lastActivityElapsed, accessor: o => o.lastActivityElapsed,
Cell: o => { Cell: o => {
const lastActivity = mixService.computeLastActivity(o.row.original); const lastActivity = mixService.computeLastActivity(o.row.original);
return lastActivity ? lastActivity : '-' return <small>{lastActivity ? lastActivity : '-'}</small>
} }
}, },
{ {
......
...@@ -134,7 +134,7 @@ class Utils { ...@@ -134,7 +134,7 @@ class Utils {
if (utxo.status === UTXO_STATUS.MIX_FAILED) { if (utxo.status === UTXO_STATUS.MIX_FAILED) {
return <FontAwesomeIcon icon={Icons.faSquare} size='xs' color='red' title='MIX FAILED'/> return <FontAwesomeIcon icon={Icons.faSquare} size='xs' color='red' title='MIX FAILED'/>
} }
if ((utxo.account === WHIRLPOOL_ACCOUNTS.POSTMIX && utxo.mixsDone >= 1 && utxo.mixableStatus === MIXABLE_STATUS.MIXABLE) || utxo.status === UTXO_STATUS.MIX_SUCCESS) { if (utxo.account === WHIRLPOOL_ACCOUNTS.POSTMIX) {
return <FontAwesomeIcon icon={Icons.faCheck} size='xs' color='green' title='MIXED'/> return <FontAwesomeIcon icon={Icons.faCheck} size='xs' color='green' title='MIXED'/>
} }
...@@ -146,7 +146,7 @@ class Utils { ...@@ -146,7 +146,7 @@ class Utils {
case MIXABLE_STATUS.NO_POOL: case MIXABLE_STATUS.NO_POOL:
return <span></span> return <span></span>
case MIXABLE_STATUS.UNCONFIRMED: case MIXABLE_STATUS.UNCONFIRMED:
return <FontAwesomeIcon icon={Icons.faClock} size='xs' color='orange' title='Unconfirmed'/> return <FontAwesomeIcon icon={Icons.faClock} size='xs' title='Unconfirmed' className='text-muted'/>
} }
return undefined return undefined
} }
......
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