diff options
author | Kevin Serrano <kevin.serrano@consensys.net> | 2017-09-12 05:12:35 +0800 |
---|---|---|
committer | Kevin Serrano <kevin.serrano@consensys.net> | 2017-09-12 05:12:35 +0800 |
commit | 27ba7f6ed3b0c55f6f5d7fa7e3829bdc06e0df9f (patch) | |
tree | ed46605e46452f1b2b484b11eea79044ece70ec4 /ui/app/conf-tx.js | |
parent | 06889377c89099cad411f4b142c8803484a225f7 (diff) | |
download | tangerine-wallet-browser-27ba7f6ed3b0c55f6f5d7fa7e3829bdc06e0df9f.tar tangerine-wallet-browser-27ba7f6ed3b0c55f6f5d7fa7e3829bdc06e0df9f.tar.gz tangerine-wallet-browser-27ba7f6ed3b0c55f6f5d7fa7e3829bdc06e0df9f.tar.bz2 tangerine-wallet-browser-27ba7f6ed3b0c55f6f5d7fa7e3829bdc06e0df9f.tar.lz tangerine-wallet-browser-27ba7f6ed3b0c55f6f5d7fa7e3829bdc06e0df9f.tar.xz tangerine-wallet-browser-27ba7f6ed3b0c55f6f5d7fa7e3829bdc06e0df9f.tar.zst tangerine-wallet-browser-27ba7f6ed3b0c55f6f5d7fa7e3829bdc06e0df9f.zip |
Show reject all only when tx count is > 1
Diffstat (limited to 'ui/app/conf-tx.js')
-rw-r--r-- | ui/app/conf-tx.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/app/conf-tx.js b/ui/app/conf-tx.js index 8d819181f..1ee4166f7 100644 --- a/ui/app/conf-tx.js +++ b/ui/app/conf-tx.js @@ -52,6 +52,8 @@ ConfirmTxScreen.prototype.render = function () { log.info(`rendering a combined ${unconfTxList.length} unconf msg & txs`) if (unconfTxList.length === 0) return h(Loading, { isLoading: true }) + const unconfTxListLength = unconfTxList.length + return ( h('.flex-column.flex-grow', [ @@ -101,6 +103,7 @@ ConfirmTxScreen.prototype.render = function () { conversionRate, currentCurrency, blockGasLimit, + unconfTxListLength, // Actions buyEth: this.buyEth.bind(this, txParams.from || props.selectedAddress), sendTransaction: this.sendTransaction.bind(this), |