aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers/app.js
diff options
context:
space:
mode:
authorFrankie <frankie.pangilinan@consensys.net>2016-09-16 01:24:05 +0800
committerFrankie <frankie.pangilinan@consensys.net>2016-09-16 01:24:05 +0800
commitef0b535d94d97827b4bfc471e4d950d90d637fa3 (patch)
tree1f59298dffe5992e3e1552b0460dd442aa3412c9 /ui/app/reducers/app.js
parent17eb53cfcd77b3832f92533a53d82726d1e152e7 (diff)
downloadtangerine-wallet-browser-ef0b535d94d97827b4bfc471e4d950d90d637fa3.tar
tangerine-wallet-browser-ef0b535d94d97827b4bfc471e4d950d90d637fa3.tar.gz
tangerine-wallet-browser-ef0b535d94d97827b4bfc471e4d950d90d637fa3.tar.bz2
tangerine-wallet-browser-ef0b535d94d97827b4bfc471e4d950d90d637fa3.tar.lz
tangerine-wallet-browser-ef0b535d94d97827b4bfc471e4d950d90d637fa3.tar.xz
tangerine-wallet-browser-ef0b535d94d97827b4bfc471e4d950d90d637fa3.tar.zst
tangerine-wallet-browser-ef0b535d94d97827b4bfc471e4d950d90d637fa3.zip
Drop the buy button in the confTx view if account does not have enough eth
Diffstat (limited to 'ui/app/reducers/app.js')
-rw-r--r--ui/app/reducers/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js
index 8eb6ec4d4..c2ac099a6 100644
--- a/ui/app/reducers/app.js
+++ b/ui/app/reducers/app.js
@@ -240,7 +240,7 @@ function reduceApp (state, action) {
name: 'confTx',
context: 0,
},
- transForward: true,
+ transForward: action.transForward,
warning: null,
})
@@ -408,7 +408,7 @@ function reduceApp (state, action) {
transForward: true,
currentView: {
name: 'buyEth',
- context: appState.currentView.context,
+ context: appState.currentView.name,
},
buyView: {
subview: 'buyForm',