fix: exchange rate was not shown on wallet page when switching wallets (#3634)
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -49,7 +49,6 @@ window.PageWallet = {
|
||||
hasNfc: false,
|
||||
nfcReaderAbortController: null,
|
||||
formattedFiatAmount: 0,
|
||||
formattedExchange: null,
|
||||
paymentFilter: {
|
||||
'status[ne]': 'failed'
|
||||
},
|
||||
@@ -658,10 +657,6 @@ window.PageWallet = {
|
||||
if (this.g.fiatTracking && this.g.wallet.currency) {
|
||||
this.g.fiatBalance =
|
||||
(this.g.exchangeRate / 100000000) * this.g.wallet.sat
|
||||
this.formattedExchange = LNbits.utils.formatCurrency(
|
||||
this.g.exchangeRate,
|
||||
this.g.wallet.currency
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user