[feat] Allow no exchange providers (#3763)

This commit is contained in:
Vlad Stan
2026-02-25 07:54:06 +01:00
committed by dni ⚡
parent 25ab676a3f
commit eae1be1db8
3 changed files with 15 additions and 5 deletions
File diff suppressed because one or more lines are too long
@@ -71,6 +71,10 @@ window.app.component('lnbits-wallet-extra', {
'lnbits.exchangeRate.' + this.g.wallet.currency,
this.g.exchangeRate
)
if (this.g.exchangeRate <= 0) {
this.g.fiatTracking = false
this.g.isFiatPriority = false
}
})
.catch(e => console.error(e))
}