mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 03:42:05 +02:00
history: remove trailing zeros in amount + fix amount display
This commit is contained in:
parent
596b71b293
commit
f1b4eb6c56
@ -1511,7 +1511,7 @@ Rectangle {
|
||||
"i": i,
|
||||
"isout": isout,
|
||||
"amount": Number(amount),
|
||||
"displayAmount": displayAmount + " XMR",
|
||||
"displayAmount": Utils.removeTrailingZeros(displayAmount.toFixed(12)) + " XMR",
|
||||
"hash": hash,
|
||||
"paymentId": paymentId,
|
||||
"address": address,
|
||||
|
Loading…
Reference in New Issue
Block a user