Bug fixes

This commit is contained in:
sairaj mote 2023-06-15 01:33:34 +05:30
parent c09e93b14c
commit 9e1cf97fef
2 changed files with 3 additions and 3 deletions

View File

@ -1930,7 +1930,7 @@
behavior: 'smooth',
block: 'start'
})
if (renderedTransactions.length) {
if (floGlobals.query.transactions.length) {
getRef('filter_selector').classList.remove('hidden')
} else {
getRef('filter_selector').classList.add('hidden')
@ -2421,7 +2421,7 @@
if (rangeUnderflow)
e.target.setAttribute('error-text', `Minimum 0.00000001 FLO allowed`)
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) {

File diff suppressed because one or more lines are too long