From 1a6671b4b337fb0e807892cdfa4f5277d1e0aaf6 Mon Sep 17 00:00:00 2001 From: arcbtc Date: Wed, 18 Dec 2024 21:38:48 +0000 Subject: [PATCH] bug --- lnbits/static/js/wallet.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lnbits/static/js/wallet.js b/lnbits/static/js/wallet.js index cfa75d621..300a08717 100644 --- a/lnbits/static/js/wallet.js +++ b/lnbits/static/js/wallet.js @@ -524,7 +524,6 @@ window.app = Vue.createApp({ type: 'positive', timeout: 3500 }) - window.location.reload() }) .catch(err => { LNbits.utils.notifyApiError(err) @@ -698,7 +697,6 @@ window.app = Vue.createApp({ } if(this.g.wallet.currency){ this.updateFiatBalance(this.g.wallet.currency) - this.getPriceChange() } this.update.name = this.g.wallet.name this.receive.units = ['sat', ...window.currencies] @@ -710,12 +708,12 @@ window.app = Vue.createApp({ } }, updatePayments() { - this.updateFiatBalance() + this.updateFiatBalance(this.g.wallet.currenc) }, 'update.currency'(newValue) { this.updateWallet({ currency: newValue }) this.updateFiatBalance(newValue) - this.getPriceChange() + } }, mounted() { // show disclaimer