Bug fixes
This commit is contained in:
parent
c09e93b14c
commit
9e1cf97fef
@ -1930,7 +1930,7 @@
|
|||||||
behavior: 'smooth',
|
behavior: 'smooth',
|
||||||
block: 'start'
|
block: 'start'
|
||||||
})
|
})
|
||||||
if (renderedTransactions.length) {
|
if (floGlobals.query.transactions.length) {
|
||||||
getRef('filter_selector').classList.remove('hidden')
|
getRef('filter_selector').classList.remove('hidden')
|
||||||
} else {
|
} else {
|
||||||
getRef('filter_selector').classList.add('hidden')
|
getRef('filter_selector').classList.add('hidden')
|
||||||
@ -2421,7 +2421,7 @@
|
|||||||
if (rangeUnderflow)
|
if (rangeUnderflow)
|
||||||
e.target.setAttribute('error-text', `Minimum 0.00000001 FLO allowed`)
|
e.target.setAttribute('error-text', `Minimum 0.00000001 FLO allowed`)
|
||||||
if (rangeOverflow)
|
if (rangeOverflow)
|
||||||
e.target.setAttribute('error-text', `You can send FLO upto ${getRef('sender_balance').textContent} only`)
|
e.target.setAttribute('error-text', `You can send FLO upto ${parseFloat(getRef('sender_balance').textContent) - floGlobals.fee} only`)
|
||||||
})
|
})
|
||||||
|
|
||||||
function renderBalance(balance = 0, loading = false) {
|
function renderBalance(balance = 0, loading = false) {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user