fix: Supply amount in mint tokens preview
Check errors object for values before invalidating the supply amount.
This commit is contained in:
parent
6b42414155
commit
b710994bee
|
@ -309,7 +309,7 @@ StatusScrollView {
|
|||
|
||||
onTextChanged: {
|
||||
const amount = parseInt(text)
|
||||
if (Number.isNaN(amount) || !!errors)
|
||||
if (Number.isNaN(amount) || Object.values(errors).length)
|
||||
return
|
||||
|
||||
if(root.isAssetView)
|
||||
|
|
Loading…
Reference in New Issue