mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-27 20:36:16 +02:00
Fix Satoshis Formatting on NIP-5 Index Page
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user