forked from Public/monero-gui
history: remove trailing zeros in amount + fix amount display
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user