From ecb0f9767bff2ee39ef807889056daebfe349e51 Mon Sep 17 00:00:00 2001 From: Kevin Serrano Date: Thu, 7 Jul 2016 13:48:52 -0700 Subject: Add new test state with tx history. Fix alignment issue with transaction history text. --- ui/app/components/transaction-list-item.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ui/app/components/transaction-list-item.js') diff --git a/ui/app/components/transaction-list-item.js b/ui/app/components/transaction-list-item.js index b1fc0d5f3..0cd2f32a7 100644 --- a/ui/app/components/transaction-list-item.js +++ b/ui/app/components/transaction-list-item.js @@ -68,7 +68,8 @@ TransactionListItem.prototype.render = function () { recipientField(txParams, transaction, isTx, isMsg), ]), - transaction.hash ? h(CopyButton, { value: transaction.hash }) : null, + // Places a copy button if tx is successful, else places a placeholder empty div. + transaction.hash ? h(CopyButton, { value: transaction.hash }) : h('div', {style: { display: 'flex', alignItems: 'center', width: '26px' }}), isTx ? h(EtherBalance, { value: txParams.value, -- cgit