aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan Finlay <somniac@me.com>2016-07-08 05:17:03 +0800
committerGitHub <noreply@github.com>2016-07-08 05:17:03 +0800
commit3fb36b2dd388d7344fd7b3b7e32dcbafeabc9b48 (patch)
tree12275fbe136b642e9304cf80213b9a280e5f44e1 /ui
parent5a99d2a77c9029ecbf78d6859db30bcfec0f2eca (diff)
parent432221625ce82f36ff54a70449c9d424277f9576 (diff)
downloadtangerine-wallet-browser-3fb36b2dd388d7344fd7b3b7e32dcbafeabc9b48.tar
tangerine-wallet-browser-3fb36b2dd388d7344fd7b3b7e32dcbafeabc9b48.tar.gz
tangerine-wallet-browser-3fb36b2dd388d7344fd7b3b7e32dcbafeabc9b48.tar.bz2
tangerine-wallet-browser-3fb36b2dd388d7344fd7b3b7e32dcbafeabc9b48.tar.lz
tangerine-wallet-browser-3fb36b2dd388d7344fd7b3b7e32dcbafeabc9b48.tar.xz
tangerine-wallet-browser-3fb36b2dd388d7344fd7b3b7e32dcbafeabc9b48.tar.zst
tangerine-wallet-browser-3fb36b2dd388d7344fd7b3b7e32dcbafeabc9b48.zip
Merge pull request #413 from MetaMask/ui-fix
Add new test state with tx history. Fix alignment issue with transact…
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/transaction-list-item.js3
-rw-r--r--ui/app/reducers.js1
2 files changed, 2 insertions, 2 deletions
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,
diff --git a/ui/app/reducers.js b/ui/app/reducers.js
index f198758ea..9243ddba4 100644
--- a/ui/app/reducers.js
+++ b/ui/app/reducers.js
@@ -37,4 +37,3 @@ function rootReducer (state, action) {
return state
}
-