diff options
author | Alexander Tseung <alextsg@gmail.com> | 2017-11-14 06:20:42 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-11-15 08:19:24 +0800 |
commit | 59e46e7cb25b7355bd969fe9ab04090f52ec67bc (patch) | |
tree | 37886ba497418c3fac5da9a5ee314ff72cbb7cfa /ui/app | |
parent | 9e3f921ba928a948c04b4156daa0a3f752ee2dde (diff) | |
download | tangerine-wallet-browser-59e46e7cb25b7355bd969fe9ab04090f52ec67bc.tar tangerine-wallet-browser-59e46e7cb25b7355bd969fe9ab04090f52ec67bc.tar.gz tangerine-wallet-browser-59e46e7cb25b7355bd969fe9ab04090f52ec67bc.tar.bz2 tangerine-wallet-browser-59e46e7cb25b7355bd969fe9ab04090f52ec67bc.tar.lz tangerine-wallet-browser-59e46e7cb25b7355bd969fe9ab04090f52ec67bc.tar.xz tangerine-wallet-browser-59e46e7cb25b7355bd969fe9ab04090f52ec67bc.tar.zst tangerine-wallet-browser-59e46e7cb25b7355bd969fe9ab04090f52ec67bc.zip |
Show tokens with zero balance
Diffstat (limited to 'ui/app')
-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 b6a27fd5a..8e06e0f27 100644 --- a/ui/app/components/token-list.js +++ b/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 () { |