aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/conf-tx.js
diff options
context:
space:
mode:
authorDavidNinja <david@vietnamese.ninja>2017-08-15 12:29:21 +0800
committerDavidNinja <david@vietnamese.ninja>2017-08-15 12:29:21 +0800
commit399c51c04831381da0b9013018763b43618de614 (patch)
treee6320455d73ff8b89ceb342d841069a9fa75bcdf /ui/app/conf-tx.js
parent68c6b2d666719476bff78cbc107a56be3b86dbe1 (diff)
downloadtangerine-wallet-browser-399c51c04831381da0b9013018763b43618de614.tar.gz
tangerine-wallet-browser-399c51c04831381da0b9013018763b43618de614.tar.zst
tangerine-wallet-browser-399c51c04831381da0b9013018763b43618de614.zip
cancel all txs
Diffstat (limited to 'ui/app/conf-tx.js')
-rw-r--r--ui/app/conf-tx.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/ui/app/conf-tx.js b/ui/app/conf-tx.js
index 34727ff78..d6ceb7ff5 100644
--- a/ui/app/conf-tx.js
+++ b/ui/app/conf-tx.js
@@ -89,6 +89,18 @@ ConfirmTxScreen.prototype.render = function () {
}),
]),
+ h('h3', {
+ style: {
+ alignSelf: 'flex-end',
+ display: unconfTxList.length > 1 ? 'block' : 'none',
+ },
+ }, [
+ h('i.fa.fa-trash.fa-lg.cursor-pointer', {
+ title: 'Cancel All Pending Transactions',
+ onClick: () => props.dispatch(actions.cancelAllTx(unconfTxList)),
+ }),
+ ]),
+
warningIfExists(props.warning),
currentTxView({