diff options
author | Dan <danjm.com@gmail.com> | 2018-03-14 09:59:47 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-03-14 09:59:47 +0800 |
commit | 0d33aed20e3f3eea68e7d0cb41fbfb0d80415000 (patch) | |
tree | a57150fafbedab1af8cc13aeaa742bb8284af615 /ui/app/components/tx-list-item.js | |
parent | bf3c5add08baf905a4fd723fdc2b5c59342cc597 (diff) | |
download | dexon-wallet-0d33aed20e3f3eea68e7d0cb41fbfb0d80415000.tar.gz dexon-wallet-0d33aed20e3f3eea68e7d0cb41fbfb0d80415000.tar.zst dexon-wallet-0d33aed20e3f3eea68e7d0cb41fbfb0d80415000.zip |
Fix tx-list-item submitted check.
Diffstat (limited to 'ui/app/components/tx-list-item.js')
-rw-r--r-- | ui/app/components/tx-list-item.js | 2 |
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 ebf5db19..b7f7c5ab 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 |