mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
history: remove trailing zeros in amount + fix amount display
This commit is contained in:
parent
596b71b293
commit
f1b4eb6c56
1 changed files with 1 additions and 1 deletions
|
@ -1511,7 +1511,7 @@ Rectangle {
|
||||||
"i": i,
|
"i": i,
|
||||||
"isout": isout,
|
"isout": isout,
|
||||||
"amount": Number(amount),
|
"amount": Number(amount),
|
||||||
"displayAmount": displayAmount + " XMR",
|
"displayAmount": Utils.removeTrailingZeros(displayAmount.toFixed(12)) + " XMR",
|
||||||
"hash": hash,
|
"hash": hash,
|
||||||
"paymentId": paymentId,
|
"paymentId": paymentId,
|
||||||
"address": address,
|
"address": address,
|
||||||
|
|
Loading…
Reference in a new issue