1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Show watched tokens with no balance

This commit is contained in:
Dan Finlay 2017-12-12 09:47:51 -08:00
parent c12886a3d5
commit d110c916a4

View File

@ -194,10 +194,7 @@ TokenList.prototype.componentWillUpdate = function (nextProps) {
}
TokenList.prototype.updateBalances = function (tokens) {
const heldTokens = tokens.filter(token => {
return token.balance !== '0' && token.string !== '0.000'
})
this.setState({ tokens: heldTokens, isLoading: false })
this.setState({ tokens, isLoading: false })
}
TokenList.prototype.componentWillUnmount = function () {