Browse Source

walletInfo comp claim interest button if fix

v0.25
pbca26 7 years ago
parent
commit
1948ab8703
  1. 4
      react/src/components/dashboard/walletsInfo/walletsInfo.js
  2. 4
      react/src/components/dashboard/walletsInfo/walletsInfo.render.js
  3. 1
      react/src/components/overrides.scss

4
react/src/components/dashboard/walletsInfo/walletsInfo.js

@ -18,8 +18,8 @@ class WalletsInfo extends React.Component {
displayClaimInterestUI() {
if (this.props.ActiveCoin &&
this.props.ActiveCoin.balance &&
this.props.ActiveCoin.balance.balance &&
this.props.ActiveCoin.balance.balance > 0) {
this.props.ActiveCoin.balance.transparent &&
this.props.ActiveCoin.balance.transparent > 0) {
return true;
}
}

4
react/src/components/dashboard/walletsInfo/walletsInfo.render.js

@ -49,7 +49,9 @@ const WalletsInfoRender = function() {
<button
type="button"
className="btn btn-success waves-effect waves-light margin-top-20 btn-next"
onClick={ () => this.openClaimInterestModal() }>{ translate('CLAIM_INTEREST.CLAIM_INTEREST', ' ') }</button>
onClick={ () => this.openClaimInterestModal() }>
<i className="icon fa-dollar"></i> { translate('CLAIM_INTEREST.CLAIM_INTEREST', ' ') }
</button>
</div>
}
</div>

1
react/src/components/overrides.scss

@ -156,6 +156,7 @@ body {
display: inline-block;
width: 40px;
height: 24px;
input {
display: none;
}

Loading…
Cancel
Save