fixed merge conflict and fixed number formatting

pull/594/head
mulili 6 years ago
parent 3515d31979
commit 183ce801eb
  1. 1
      apps/block_scout_web/assets/js/lib/smart_contract/wei_ether_converter.js

@ -16,6 +16,7 @@ const weiToEtherConverter = (element, event) => {
unitVal = unitVal.dividedBy(weiUnit)
$conversionUnit.html(unitVal.toFixed() > 0 ? unitVal.toFixed() : numeral(unitVal).format('0[.000000000000000000]'))
} else {
$conversionTextWei.removeAttr('style')
$conversionTextWei.addClass('d-inline-block')
$conversionTextEth.addClass('d-none')
unitVal = unitVal.multipliedBy(weiUnit)

Loading…
Cancel
Save