fix(airdrop): Incorrect default amount when airdropping a community token or setting token permission
(regression after a12a6a48
)
fixes #15264
This commit is contained in:
parent
174114538e
commit
588be3c60e
|
@ -42,8 +42,8 @@ Input {
|
|||
const amountNumber = SQUtils.AmountsArithmetic.toNumber(
|
||||
amount, multiplierIndex)
|
||||
|
||||
root.text = LocaleUtils.numberToLocaleString(amountNumber, -1,
|
||||
root.locale)
|
||||
const precision = LocaleUtils.fractionalPartLength(amountNumber)
|
||||
root.text = LocaleUtils.numberToLocaleString(amountNumber, precision, root.locale)
|
||||
}
|
||||
|
||||
onTextChanged: d.validate()
|
||||
|
|
Loading…
Reference in New Issue