mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Add copy button to transaction list
This commit is contained in:
parent
5c57169219
commit
fb92b8a5fe
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user