forked from Qortal/qortal-ui
Fixed UI wallet display bug introduced in ARRR support.
This commit is contained in:
parent
16580f4cc3
commit
37e0a37f59
@ -2650,13 +2650,16 @@ class MultiWallet extends LitElement {
|
|||||||
method: 'POST',
|
method: 'POST',
|
||||||
body: `${window.parent.reduxStore.getState().app.selectedAddress[arrrWalletName].seed58}`,
|
body: `${window.parent.reduxStore.getState().app.selectedAddress[arrrWalletName].seed58}`,
|
||||||
})
|
})
|
||||||
|
if (coin != this._selectedWallet) {
|
||||||
|
// We've switched away from this coin
|
||||||
|
}
|
||||||
if (res !== null && res !== "Synchronized") {
|
if (res !== null && res !== "Synchronized") {
|
||||||
// Not synchronized yet - display sync status instead of balance
|
// Not synchronized yet - display sync status instead of balance
|
||||||
this.balanceString = res;
|
this.balanceString = res;
|
||||||
|
|
||||||
// Check again shortly after
|
// Check again shortly after
|
||||||
await new Promise(resolve => setTimeout(resolve, 2000));
|
await new Promise(resolve => setTimeout(resolve, 2000));
|
||||||
this.fetchWalletDetails(coin)
|
this.showWallet()
|
||||||
|
|
||||||
// No need to make balance or transaction list calls yet
|
// No need to make balance or transaction list calls yet
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user