aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2018-03-31 09:36:39 +0800
committerGitHub <noreply@github.com>2018-03-31 09:36:39 +0800
commitee1acf0a7ea490e4d22efdf22dec984cd7ba6a6a (patch)
treedf16cf2704f647e404c97a43e6543543806d2fad /old-ui
parent2e57c36f36165e85cabeffc3cf0ade4998e352e1 (diff)
parent717623e2e388f488d71bd6e19095645cd8095a99 (diff)
downloadtangerine-wallet-browser-ee1acf0a7ea490e4d22efdf22dec984cd7ba6a6a.tar
tangerine-wallet-browser-ee1acf0a7ea490e4d22efdf22dec984cd7ba6a6a.tar.gz
tangerine-wallet-browser-ee1acf0a7ea490e4d22efdf22dec984cd7ba6a6a.tar.bz2
tangerine-wallet-browser-ee1acf0a7ea490e4d22efdf22dec984cd7ba6a6a.tar.lz
tangerine-wallet-browser-ee1acf0a7ea490e4d22efdf22dec984cd7ba6a6a.tar.xz
tangerine-wallet-browser-ee1acf0a7ea490e4d22efdf22dec984cd7ba6a6a.tar.zst
tangerine-wallet-browser-ee1acf0a7ea490e4d22efdf22dec984cd7ba6a6a.zip
Merge pull request #3774 from danjm/i3686-txparamundefined-sigrequestsintxlist
Fix display of unapprovedMgs in txList; fix txParams undefined errors
Diffstat (limited to 'old-ui')
-rw-r--r--old-ui/app/components/transaction-list-item.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/old-ui/app/components/transaction-list-item.js b/old-ui/app/components/transaction-list-item.js
index 7ab3414e5..f7d59005a 100644
--- a/old-ui/app/components/transaction-list-item.js
+++ b/old-ui/app/components/transaction-list-item.js
@@ -31,6 +31,11 @@ function TransactionListItem () {
TransactionListItem.prototype.showRetryButton = function () {
const { transaction = {}, transactions } = this.props
const { status, submittedTime, txParams } = transaction
+
+ if (!txParams) {
+ return false
+ }
+
const currentNonce = txParams.nonce
const currentNonceTxs = transactions.filter(tx => tx.txParams.nonce === currentNonce)
const currentNonceSubmittedTxs = currentNonceTxs.filter(tx => tx.status === 'submitted')