Show tokens with zero balance

feature/default_network_editable
Alexander Tseung 7 years ago committed by Chi Kei Chan
parent 9e3f921ba9
commit 59e46e7cb2
  1. 5
      ui/app/components/token-list.js

@ -151,10 +151,7 @@ TokenList.prototype.componentDidUpdate = 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 () {

Loading…
Cancel
Save