aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-14 09:59:47 +0800
committerDan <danjm.com@gmail.com>2018-03-14 09:59:47 +0800
commit0d33aed20e3f3eea68e7d0cb41fbfb0d80415000 (patch)
treea57150fafbedab1af8cc13aeaa742bb8284af615 /ui
parentbf3c5add08baf905a4fd723fdc2b5c59342cc597 (diff)
downloadtangerine-wallet-browser-0d33aed20e3f3eea68e7d0cb41fbfb0d80415000.tar
tangerine-wallet-browser-0d33aed20e3f3eea68e7d0cb41fbfb0d80415000.tar.gz
tangerine-wallet-browser-0d33aed20e3f3eea68e7d0cb41fbfb0d80415000.tar.bz2
tangerine-wallet-browser-0d33aed20e3f3eea68e7d0cb41fbfb0d80415000.tar.lz
tangerine-wallet-browser-0d33aed20e3f3eea68e7d0cb41fbfb0d80415000.tar.xz
tangerine-wallet-browser-0d33aed20e3f3eea68e7d0cb41fbfb0d80415000.tar.zst
tangerine-wallet-browser-0d33aed20e3f3eea68e7d0cb41fbfb0d80415000.zip
Fix tx-list-item submitted check.
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/tx-list-item.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/components/tx-list-item.js b/ui/app/components/tx-list-item.js
index ebf5db19f..b7f7c5ab4 100644
--- a/ui/app/components/tx-list-item.js
+++ b/ui/app/components/tx-list-item.js
@@ -185,7 +185,7 @@ TxListItem.prototype.showRetryButton = function () {
} = this.props
const currentNonce = txParams.nonce
const currentNonceTxs = selectedAddressTxList.filter(tx => tx.txParams.nonce === currentNonce)
- const currentNonceSubmittedTxs = currentNonceTxs.filter(tx => transactionStatus === 'submitted')
+ const currentNonceSubmittedTxs = currentNonceTxs.filter(tx => tx.status === 'submitted')
const lastSubmittedTxWithCurrentNonce = currentNonceSubmittedTxs[currentNonceSubmittedTxs.length - 1]
const currentTxIsLatestWithNonce = lastSubmittedTxWithCurrentNonce
&& lastSubmittedTxWithCurrentNonce.id === transactionId