diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-09-16 12:05:24 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-09-16 12:05:24 +0800 |
commit | ed51b91b4a526db6c1282445ca1fb4e41d5ca37f (patch) | |
tree | b83b8d2ec55cdf25d7906b8865621ee7bc4a0485 /ui/app | |
parent | 4eef2c57cf9178cdf5b0a882d6fae0dcdcfae89a (diff) | |
parent | ae2f0f585fd70986ce71f95b40ed49e9909283f5 (diff) | |
download | tangerine-wallet-browser-ed51b91b4a526db6c1282445ca1fb4e41d5ca37f.tar tangerine-wallet-browser-ed51b91b4a526db6c1282445ca1fb4e41d5ca37f.tar.gz tangerine-wallet-browser-ed51b91b4a526db6c1282445ca1fb4e41d5ca37f.tar.bz2 tangerine-wallet-browser-ed51b91b4a526db6c1282445ca1fb4e41d5ca37f.tar.lz tangerine-wallet-browser-ed51b91b4a526db6c1282445ca1fb4e41d5ca37f.tar.xz tangerine-wallet-browser-ed51b91b4a526db6c1282445ca1fb4e41d5ca37f.tar.zst tangerine-wallet-browser-ed51b91b4a526db6c1282445ca1fb4e41d5ca37f.zip |
Merge branch 'master' into i675-LoadingBuy
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/components/transaction-list-item.js | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/ui/app/components/transaction-list-item.js b/ui/app/components/transaction-list-item.js index 66a232981..491e90c7c 100644 --- a/ui/app/components/transaction-list-item.js +++ b/ui/app/components/transaction-list-item.js @@ -48,7 +48,7 @@ TransactionListItem.prototype.render = function () { if (isPending) { this.props.showTx(transaction.id) } - + event.stopPropagation() if (!transaction.hash || !isLinkable) return var url = explorerLink(transaction.hash, parseInt(network)) extension.tabs.create({ url }) @@ -58,10 +58,21 @@ TransactionListItem.prototype.render = function () { }, }, [ - // large identicon h('.identicon-wrapper.flex-column.flex-center.select-none', [ - transaction.status === 'unconfirmed' ? h('i.fa.fa-ellipsis-h', {style: { fontSize: '27px' }}) - : h(TransactionIcon, { txParams, transaction, isTx, isMsg }), + transaction.status === 'unconfirmed' ? h('i.fa.fa-ellipsis-h', { + style: { + fontSize: '27px', + }, + }) : h( '.pop-hover', { + onClick: (event) => { + event.stopPropagation() + if (!isTx || isPending) return + var url = `https://metamask.github.io/eth-tx-viz/?tx=${transaction.hash}` + extension.tabs.create({ url }) + }, + }, [ + h(TransactionIcon, { txParams, transaction, isTx, isMsg }), + ]), ]), h('.flex-column', {style: {width: '200px', overflow: 'hidden'}}, [ |