mirror of
https://github.com/lnbits/lnbits.git
synced 2025-07-12 22:12:41 +02:00
bug
This commit is contained in:
@ -524,7 +524,6 @@ window.app = Vue.createApp({
|
|||||||
type: 'positive',
|
type: 'positive',
|
||||||
timeout: 3500
|
timeout: 3500
|
||||||
})
|
})
|
||||||
window.location.reload()
|
|
||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
LNbits.utils.notifyApiError(err)
|
LNbits.utils.notifyApiError(err)
|
||||||
@ -698,7 +697,6 @@ window.app = Vue.createApp({
|
|||||||
}
|
}
|
||||||
if(this.g.wallet.currency){
|
if(this.g.wallet.currency){
|
||||||
this.updateFiatBalance(this.g.wallet.currency)
|
this.updateFiatBalance(this.g.wallet.currency)
|
||||||
this.getPriceChange()
|
|
||||||
}
|
}
|
||||||
this.update.name = this.g.wallet.name
|
this.update.name = this.g.wallet.name
|
||||||
this.receive.units = ['sat', ...window.currencies]
|
this.receive.units = ['sat', ...window.currencies]
|
||||||
@ -710,12 +708,12 @@ window.app = Vue.createApp({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
updatePayments() {
|
updatePayments() {
|
||||||
this.updateFiatBalance()
|
this.updateFiatBalance(this.g.wallet.currenc)
|
||||||
},
|
},
|
||||||
'update.currency'(newValue) {
|
'update.currency'(newValue) {
|
||||||
this.updateWallet({ currency: newValue })
|
this.updateWallet({ currency: newValue })
|
||||||
this.updateFiatBalance(newValue)
|
this.updateFiatBalance(newValue)
|
||||||
this.getPriceChange()
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
// show disclaimer
|
// show disclaimer
|
||||||
|
Reference in New Issue
Block a user