aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/conf-tx.js
diff options
context:
space:
mode:
authorFrankie <frankie.diamond@gmail.com>2017-01-19 03:30:41 +0800
committerGitHub <noreply@github.com>2017-01-19 03:30:41 +0800
commite3650b336a37c6026ec9bca8174abdbed22dc554 (patch)
tree4086c37f0981f6aac6dd6a244a14580db43e48cf /ui/app/conf-tx.js
parent460cbb985f4190220b9f5dc0e5b0cf80bfa08941 (diff)
parent528ceff07c01371feaa147bb850452eab30ea2e0 (diff)
downloadtangerine-wallet-browser-e3650b336a37c6026ec9bca8174abdbed22dc554.tar
tangerine-wallet-browser-e3650b336a37c6026ec9bca8174abdbed22dc554.tar.gz
tangerine-wallet-browser-e3650b336a37c6026ec9bca8174abdbed22dc554.tar.bz2
tangerine-wallet-browser-e3650b336a37c6026ec9bca8174abdbed22dc554.tar.lz
tangerine-wallet-browser-e3650b336a37c6026ec9bca8174abdbed22dc554.tar.xz
tangerine-wallet-browser-e3650b336a37c6026ec9bca8174abdbed22dc554.tar.zst
tangerine-wallet-browser-e3650b336a37c6026ec9bca8174abdbed22dc554.zip
Merge branch 'master' into fixSignedVsSubmitted
Diffstat (limited to 'ui/app/conf-tx.js')
-rw-r--r--ui/app/conf-tx.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/app/conf-tx.js b/ui/app/conf-tx.js
index 8d8285f3d..8e255a867 100644
--- a/ui/app/conf-tx.js
+++ b/ui/app/conf-tx.js
@@ -43,9 +43,11 @@ ConfirmTxScreen.prototype.render = function () {
var unconfMsgs = state.unconfMsgs
var unconfTxList = txHelper(unconfTxs, unconfMsgs, network)
var index = state.index !== undefined ? state.index : 0
- var txData = unconfTxList[index] || {txParams: {}}
- var txParams = txData.txParams || {}
+ var txData = unconfTxList[index] || {}
+ var txParams = txData.txParams
var isNotification = isPopupOrNotification() === 'notification'
+ if (!txParams) return null
+
return (
h('.flex-column.flex-grow', [