fix(wallet): Show route amounts in network cards (#15441)
This commit is contained in:
parent
64f3ec67dd
commit
bc736257d1
|
@ -129,12 +129,8 @@ Item {
|
|||
isBridgeTx: root.isBridgeTx
|
||||
errorType: root.errorType
|
||||
weiToEth: function(wei) {
|
||||
if(!!selectedAsset && !!selectedAsset.type
|
||||
&& (selectedAsset.type === Constants.TokenType.Native
|
||||
|| selectedAsset.type === Constants.TokenType.ERC20)
|
||||
) {
|
||||
if(!!selectedAsset && (selectedAsset.type === Constants.TokenType.Native || selectedAsset.type === Constants.TokenType.ERC20))
|
||||
return parseFloat(store.getWei2Eth(wei, selectedAsset.decimals))
|
||||
}
|
||||
return 0
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue