Browse Source

coin tile spv update fix

v0.25
pbca26 7 years ago
parent
commit
d1ce5ea517
  1. 10
      react/src/components/dashboard/coinTile/coinTileItem.js

10
react/src/components/dashboard/coinTile/coinTileItem.js

@ -266,8 +266,7 @@ class CoinTileItem extends React.Component {
)
);
if (!this.props.Dashboard.skipFullDashboardUpdate &&
this.props.ActiveCoin.activeSection === 'default') {
if (!this.props.Dashboard.skipFullDashboardUpdate) {
Store.dispatch(getDashboardUpdate(coin, _propsDashboard));
}
} else {
@ -280,9 +279,12 @@ class CoinTileItem extends React.Component {
)
);
}
} else if (mode === 'spv' && this.props.Dashboard.electrumCoins[coin].pub && this.props.ActiveCoin.activeSection === 'default') {
} else if (mode === 'spv' && this.props.Dashboard.electrumCoins[coin].pub) {
Store.dispatch(shepherdElectrumBalance(coin, this.props.Dashboard.electrumCoins[coin].pub));
Store.dispatch(shepherdElectrumTransactions(coin, this.props.Dashboard.electrumCoins[coin].pub));
if (this.props.ActiveCoin.activeSection === 'default') {
Store.dispatch(shepherdElectrumTransactions(coin, this.props.Dashboard.electrumCoins[coin].pub));
}
}
}
}

Loading…
Cancel
Save