diff options
author | jloup <jloup@jloup.work> | 2018-05-13 15:20:50 +0100 |
---|---|---|
committer | jloup <jloup@jloup.work> | 2018-05-13 15:20:50 +0100 |
commit | a3e231e4c3ac1a41bae49a2cea2874d9e8f1b9ea (patch) | |
tree | cfdde1a6a9b793f84799a40d8c1fdcc8f7d730fd /cmd/web/js | |
parent | d1c0ccfcb84f1b8778e38b027a333d03e1f4ae9e (diff) | |
download | Front-a3e231e4c3ac1a41bae49a2cea2874d9e8f1b9ea.tar.gz Front-a3e231e4c3ac1a41bae49a2cea2874d9e8f1b9ea.tar.zst Front-a3e231e4c3ac1a41bae49a2cea2874d9e8f1b9ea.zip |
Fix message on empty credentials.v0.0.12
Diffstat (limited to 'cmd/web/js')
-rw-r--r-- | cmd/web/js/poloniex.jsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/web/js/poloniex.jsx b/cmd/web/js/poloniex.jsx index 6019ef8..b28bc26 100644 --- a/cmd/web/js/poloniex.jsx +++ b/cmd/web/js/poloniex.jsx | |||
@@ -16,6 +16,8 @@ class PoloniexController extends React.Component { | |||
16 | this.setState({'flag': 'invalidCredentials', 'variationP': null, 'balance': null, 'balances': null, 'periodStart': null}); | 16 | this.setState({'flag': 'invalidCredentials', 'variationP': null, 'balance': null, 'balances': null, 'periodStart': null}); |
17 | } else if (err.code === 'ip_restricted_api_key') { | 17 | } else if (err.code === 'ip_restricted_api_key') { |
18 | this.setState({'flag': 'ipRestricted', 'variationP': null, 'balance': null, 'balances': null, 'periodStart': null}); | 18 | this.setState({'flag': 'ipRestricted', 'variationP': null, 'balance': null, 'balances': null, 'periodStart': null}); |
19 | } else if (err.code === 'market_credentials_not_configured') { | ||
20 | this.setState({'flag': 'emptyCredentials'}); | ||
19 | } | 21 | } |
20 | return; | 22 | return; |
21 | } | 23 | } |