[Fix] Display fee in sats (#3235)

This commit is contained in:
Tiago Vasconcelos 2025-07-02 11:38:35 +01:00 committed by dni ⚡
parent 88b01e6079
commit 5765ea0276
No known key found for this signature in database
GPG key ID: D1F416F29AD26E87

View file

@ -60,10 +60,10 @@ window.PaymentsPageLogic = {
sortable: false sortable: false
}, },
{ {
name: 'fee', name: 'fee_sats',
align: 'left', align: 'left',
label: 'Fee', label: 'Fee',
field: 'fee', field: 'fee_sats',
sortable: true sortable: true
}, },
@ -166,6 +166,8 @@ window.PaymentsPageLogic = {
p.extra.wallet_fiat_currency p.extra.wallet_fiat_currency
) )
} }
p.fee_sats =
new Intl.NumberFormat(window.LOCALE).format(p.fee / 1000) + ' sats'
return p return p
}) })