aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Huang <tmashuang@users.noreply.github.com>2017-12-15 02:12:18 +0800
committerGitHub <noreply@github.com>2017-12-15 02:12:18 +0800
commit6843a79fe9498e4bec5b5eab9f95b7b8735f9c88 (patch)
treefb45c8072508be0f47b0a53d3c28ada07ac2a792
parent4301e6b2bd53020ee6a15c9f1849c41794a26abb (diff)
parent3456efa3f6a8afdda7a7d2218d780311acf9d3fc (diff)
downloadtangerine-wallet-browser-6843a79fe9498e4bec5b5eab9f95b7b8735f9c88.tar
tangerine-wallet-browser-6843a79fe9498e4bec5b5eab9f95b7b8735f9c88.tar.gz
tangerine-wallet-browser-6843a79fe9498e4bec5b5eab9f95b7b8735f9c88.tar.bz2
tangerine-wallet-browser-6843a79fe9498e4bec5b5eab9f95b7b8735f9c88.tar.lz
tangerine-wallet-browser-6843a79fe9498e4bec5b5eab9f95b7b8735f9c88.tar.xz
tangerine-wallet-browser-6843a79fe9498e4bec5b5eab9f95b7b8735f9c88.tar.zst
tangerine-wallet-browser-6843a79fe9498e4bec5b5eab9f95b7b8735f9c88.zip
Merge pull request #2733 from MetaMask/i2380-ShowNoBalance
Show watched tokens with no balance
-rw-r--r--CHANGELOG.md2
-rw-r--r--ui/app/components/token-list.js5
2 files changed, 3 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8e35e8775..106881ea5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,8 @@
## Current Master
+- Show tokens that are held that have no balance.
+
## 3.13.2 2017-12-9
- Reduce new block polling interval to 8000 ms, to ease server load.
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 () {