minor UI fix
This commit is contained in:
parent
abe8240a8f
commit
2de8b9023e
@ -1098,7 +1098,7 @@
|
||||
document.querySelectorAll('.logged-in-user-id').forEach(elem => elem.value = myFloID);
|
||||
floGlobals.isSubAdmin = floGlobals.subAdmins.includes(myFloID)
|
||||
tokenAPI.getBalance(myFloID).then(balance => {
|
||||
const [beforeDecimal, afterDecimal = '00'] = String(balance).split('.')
|
||||
const [beforeDecimal, afterDecimal = '00'] = String(balance.toFixed(2)).split('.')
|
||||
getRef('rupee_balance').innerHTML = `<span><b>${beforeDecimal}</b></span>.<span>${afterDecimal}</span>`
|
||||
})
|
||||
floBlockchainAPI.getBalance(myFloID).then(balance => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user