diff options
author | Frankie <frankie.pangilinan@consensys.net> | 2016-08-26 07:06:54 +0800 |
---|---|---|
committer | Frankie <frankie.pangilinan@consensys.net> | 2016-08-26 07:06:54 +0800 |
commit | 547894ed391f2d258c46ff382d4b211d18d81a7b (patch) | |
tree | 9425bee50dae3f6d254462363b5f60b837cb2e27 /ui/app/conf-tx.js | |
parent | 250cf8cc23305e33f4fc26a1711996ebc54fd9ad (diff) | |
parent | 78f73038e789f4483f728a7cc9ea1c68b0b3d7fa (diff) | |
download | tangerine-wallet-browser-547894ed391f2d258c46ff382d4b211d18d81a7b.tar tangerine-wallet-browser-547894ed391f2d258c46ff382d4b211d18d81a7b.tar.gz tangerine-wallet-browser-547894ed391f2d258c46ff382d4b211d18d81a7b.tar.bz2 tangerine-wallet-browser-547894ed391f2d258c46ff382d4b211d18d81a7b.tar.lz tangerine-wallet-browser-547894ed391f2d258c46ff382d4b211d18d81a7b.tar.xz tangerine-wallet-browser-547894ed391f2d258c46ff382d4b211d18d81a7b.tar.zst tangerine-wallet-browser-547894ed391f2d258c46ff382d4b211d18d81a7b.zip |
Merge branch 'master' into i#563forgotPassword
Diffstat (limited to 'ui/app/conf-tx.js')
-rw-r--r-- | ui/app/conf-tx.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/app/conf-tx.js b/ui/app/conf-tx.js index 43604e8cf..22d29383f 100644 --- a/ui/app/conf-tx.js +++ b/ui/app/conf-tx.js @@ -5,6 +5,7 @@ const h = require('react-hyperscript') const connect = require('react-redux').connect const actions = require('./actions') const txHelper = require('../lib/tx-helper') +const isPopupOrNotification = require('../../app/scripts/lib/is-popup-or-notification') const PendingTx = require('./components/pending-tx') const PendingMsg = require('./components/pending-msg') @@ -36,6 +37,7 @@ ConfirmTxScreen.prototype.render = function () { var unconfTxList = txHelper(unconfTxs, unconfMsgs) var index = state.index !== undefined ? state.index : 0 var txData = unconfTxList[index] || unconfTxList[0] || {} + var isNotification = isPopupOrNotification() === 'notification' return ( @@ -43,9 +45,9 @@ ConfirmTxScreen.prototype.render = function () { // subtitle and nav h('.section-title.flex-row.flex-center', [ - h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', { + !isNotification ? h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', { onClick: this.goHome.bind(this), - }), + }) : null, h('h2.page-subtitle', 'Confirm Transaction'), ]), |