diff options
author | Frankie <frankie.pangilinan@consensys.net> | 2016-09-16 01:24:05 +0800 |
---|---|---|
committer | Frankie <frankie.pangilinan@consensys.net> | 2016-09-16 01:24:05 +0800 |
commit | ef0b535d94d97827b4bfc471e4d950d90d637fa3 (patch) | |
tree | 1f59298dffe5992e3e1552b0460dd442aa3412c9 /ui/app/reducers | |
parent | 17eb53cfcd77b3832f92533a53d82726d1e152e7 (diff) | |
download | tangerine-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')
-rw-r--r-- | ui/app/reducers/app.js | 4 |
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', |