aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-06-30 05:12:58 +0800
committerDan Finlay <dan@danfinlay.com>2016-06-30 05:12:58 +0800
commitfb92b8a5fe62bcdb4e56eab669134c46ba2e8929 (patch)
tree30d7e9e652ab44ba28b5dd439c57d59db458e66c
parent5c57169219596e4637c59dd39c01812a4b1bb746 (diff)
downloadtangerine-wallet-browser-fb92b8a5fe62bcdb4e56eab669134c46ba2e8929.tar
tangerine-wallet-browser-fb92b8a5fe62bcdb4e56eab669134c46ba2e8929.tar.gz
tangerine-wallet-browser-fb92b8a5fe62bcdb4e56eab669134c46ba2e8929.tar.bz2
tangerine-wallet-browser-fb92b8a5fe62bcdb4e56eab669134c46ba2e8929.tar.lz
tangerine-wallet-browser-fb92b8a5fe62bcdb4e56eab669134c46ba2e8929.tar.xz
tangerine-wallet-browser-fb92b8a5fe62bcdb4e56eab669134c46ba2e8929.tar.zst
tangerine-wallet-browser-fb92b8a5fe62bcdb4e56eab669134c46ba2e8929.zip
Add copy button to transaction list
-rw-r--r--ui/app/components/transaction-list-item.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/app/components/transaction-list-item.js b/ui/app/components/transaction-list-item.js
index 82176059f..b1fc0d5f3 100644
--- a/ui/app/components/transaction-list-item.js
+++ b/ui/app/components/transaction-list-item.js
@@ -5,6 +5,7 @@ const inherits = require('util').inherits
const EtherBalance = require('./eth-balance')
const addressSummary = require('../util').addressSummary
const explorerLink = require('../../lib/explorer-link')
+const CopyButton = require('./copyButton')
const vreme = new (require('vreme'))
const TransactionIcon = require('./transaction-list-item-icon')
@@ -67,6 +68,8 @@ TransactionListItem.prototype.render = function () {
recipientField(txParams, transaction, isTx, isMsg),
]),
+ transaction.hash ? h(CopyButton, { value: transaction.hash }) : null,
+
isTx ? h(EtherBalance, {
value: txParams.value,
}) : h('.flex-column'),