|
|
@ -107,6 +107,9 @@ class CoinTileItem extends React.Component { |
|
|
|
|
|
|
|
dashboardChangeActiveCoin(coin, mode) { |
|
|
|
if (coin !== this.props.ActiveCoin.coin) { |
|
|
|
Store.dispatch(dashboardChangeActiveCoin(coin, mode)); |
|
|
|
this.dispatchCoinActions(coin, mode); // triggers fetch coin data from store if available
|
|
|
|
|
|
|
|
Store.dispatch( |
|
|
|
stopInterval( |
|
|
|
'sync', |
|
|
@ -121,8 +124,6 @@ class CoinTileItem extends React.Component { |
|
|
|
) |
|
|
|
); |
|
|
|
|
|
|
|
Store.dispatch(dashboardChangeActiveCoin(coin, mode)); |
|
|
|
|
|
|
|
if (mode === 'full') { |
|
|
|
const _iguanaActiveHandle = setInterval(() => { |
|
|
|
this.dispatchCoinActions(coin, mode); |
|
|
|