diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-12-13 01:47:51 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-12-13 01:47:51 +0800 |
commit | d110c916a4dde947dcfdc610aaadf9fba251449a (patch) | |
tree | ac870e9614b400d3ca9f72bb224e142a67b6a537 /ui | |
parent | c12886a3d500d1570bc7328fd6432a3d741a1028 (diff) | |
download | tangerine-wallet-browser-d110c916a4dde947dcfdc610aaadf9fba251449a.tar tangerine-wallet-browser-d110c916a4dde947dcfdc610aaadf9fba251449a.tar.gz tangerine-wallet-browser-d110c916a4dde947dcfdc610aaadf9fba251449a.tar.bz2 tangerine-wallet-browser-d110c916a4dde947dcfdc610aaadf9fba251449a.tar.lz tangerine-wallet-browser-d110c916a4dde947dcfdc610aaadf9fba251449a.tar.xz tangerine-wallet-browser-d110c916a4dde947dcfdc610aaadf9fba251449a.tar.zst tangerine-wallet-browser-d110c916a4dde947dcfdc610aaadf9fba251449a.zip |
Show watched tokens with no balance
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/components/token-list.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/app/components/token-list.js b/ui/app/components/token-list.js index 998ec901d..149733b89 100644 --- a/ui/app/components/token-list.js +++ b/ui/app/components/token-list.js @@ -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 () { |