From 8e510baf53690e1f5053a2a24ed7fc47e9c16f50 Mon Sep 17 00:00:00 2001 From: pbca26 Date: Thu, 12 Oct 2017 16:18:18 +0300 Subject: [PATCH] AGT-66 user friendly debug.log enoent message --- react/src/actions/actions/addCoin.js | 4 + .../components/addcoin/addcoinOptionsAC.js | 2 +- .../dashboard/_sendCoin/sendCoin.js | 917 ------------------ .../dashboard/_sendCoin/sendCoin.render.js | 402 -------- .../claimInterestModal/claimInterestModal.js | 2 + .../dashboard/coinTile/coinTileItem.js | 2 - .../coindDownModal/coindDownModal.render.js | 8 +- .../src/components/dashboard/jumblr/jumblr.js | 2 + 8 files changed, 16 insertions(+), 1323 deletions(-) delete mode 100644 react/src/components/dashboard/_sendCoin/sendCoin.js delete mode 100644 react/src/components/dashboard/_sendCoin/sendCoin.render.js diff --git a/react/src/actions/actions/addCoin.js b/react/src/actions/actions/addCoin.js index 20fe256..bf0fe81 100644 --- a/react/src/actions/actions/addCoin.js +++ b/react/src/actions/actions/addCoin.js @@ -273,18 +273,22 @@ export function addCoinResult(coin, mode) { if (Number(mode) === 0) { dispatch(activeHandle()); dispatch(shepherdElectrumCoins()); + dispatch(getDexCoins()); setTimeout(function() { dispatch(activeHandle()); dispatch(shepherdElectrumCoins()); + dispatch(getDexCoins()); }, 500); setTimeout(function() { dispatch(activeHandle()); dispatch(shepherdElectrumCoins()); + dispatch(getDexCoins()); }, 1000); setTimeout(function() { dispatch(activeHandle()); dispatch(shepherdElectrumCoins()); + dispatch(getDexCoins()); }, 2000); } else { dispatch(activeHandle()); diff --git a/react/src/components/addcoin/addcoinOptionsAC.js b/react/src/components/addcoin/addcoinOptionsAC.js index 8745cdc..5376a04 100644 --- a/react/src/components/addcoin/addcoinOptionsAC.js +++ b/react/src/components/addcoin/addcoinOptionsAC.js @@ -25,7 +25,7 @@ class AddCoinOptionsAC extends React.Component { let _items = []; for (let i = 0; i < _assetChains.length; i++) { - const availableModes = _assetChains[i] === 'revs' || _assetChains[i] === 'jumblr' ? 'native|spv' : 'native'; + const availableModes = _assetChains[i] === 'revs' || _assetChains[i] === 'jumblr' || _assetChains[i] === 'wlc' || _assetChains[i] === 'mnz' ? 'native|spv' : 'native'; _items.push(