Fix tokens dropdown appearance

pull/3360/head
Victor Baranov 4 years ago
parent 3ffadae6a3
commit bcda477080
  1. 2
      apps/block_scout_web/assets/js/pages/address.js
  2. 2
      apps/block_scout_web/assets/js/pages/admin/tasks.js

@ -72,7 +72,7 @@ export function reducer (state = initialState, action) {
let fetchedTokenBalanceBlockNumber = 0
function loadTokenBalance (blockNumber) {
if (blockNumber > fetchedTokenBalanceBlockNumber) {
if (blockNumber >= fetchedTokenBalanceBlockNumber) {
fetchedTokenBalanceBlockNumber = blockNumber
setTimeout(loadTokenBalanceDropdown, 1000)
}

@ -14,7 +14,7 @@ const runTask = (event) => {
$loading.show()
$.get(apiPath)
.done(response => {
.done(_response => {
$successMessage.show()
$loading.hide()
})

Loading…
Cancel
Save