[Fix] Display fee in sats (#3235)
This commit is contained in:
parent
88b01e6079
commit
5765ea0276
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue