mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 06:48:02 +01:00
Fix Satoshis Formatting on NIP-5 Index Page
This commit is contained in:
parent
9128953894
commit
f237bdd4b7
1 changed files with 3 additions and 1 deletions
|
@ -280,7 +280,9 @@
|
|||
'YYYY-MM-DD HH:mm'
|
||||
)
|
||||
|
||||
obj.amount = parseFloat(obj.amount / 100).toFixed(2)
|
||||
if (obj.currency != "Satoshis") {
|
||||
obj.amount = parseFloat(obj.amount / 100).toFixed(2)
|
||||
}
|
||||
|
||||
return obj
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue