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(
|
const amountNumber = SQUtils.AmountsArithmetic.toNumber(
|
||||||
amount, multiplierIndex)
|
amount, multiplierIndex)
|
||||||
|
|
||||||
root.text = LocaleUtils.numberToLocaleString(amountNumber, -1,
|
const precision = LocaleUtils.fractionalPartLength(amountNumber)
|
||||||
root.locale)
|
root.text = LocaleUtils.numberToLocaleString(amountNumber, precision, root.locale)
|
||||||
}
|
}
|
||||||
|
|
||||||
onTextChanged: d.validate()
|
onTextChanged: d.validate()
|
||||||
|
|
Loading…
Reference in New Issue