Browse Source

Fix 0 balance button to small

pull/2/head
AlphaX-Projects 3 years ago committed by GitHub
parent
commit
15304cd861
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      qortal-ui-plugins/plugins/core/wallet/wallet-app.src.js

4
qortal-ui-plugins/plugins/core/wallet/wallet-app.src.js

@ -552,7 +552,7 @@ class MultiWallet extends LitElement {
this.sendMoneyLoading = false
this.isValidAmount = false
this.btnDisable = false
this.balance = 0
this.balance = 0
this.amount = 0
this.btcAmount = 0
this.ltcAmount = 0
@ -1747,7 +1747,7 @@ class MultiWallet extends LitElement {
parentEpml.request('showSnackBar', `Failed to Fetch QORT Balance. Try again!`)
} else {
if (this._selectedWallet == coin) {
this.wallets.get(coin).balance = res
this.wallets.get(coin).balance = Number(res).toFixed(8)
this.balanceString = this.wallets.get(this._selectedWallet).balance + " " + this._selectedWallet.toLocaleUpperCase()
this.balance = this.wallets.get(this._selectedWallet).balance
}

Loading…
Cancel
Save