diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-07 19:24:03 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-07 19:24:03 +0800 |
commit | 8b919758e51e16536b6edaf33d4978d551363249 (patch) | |
tree | a1861401480401d94cc908cf2bc5eeabca0d67e6 /ui/app/components/token-balance.js | |
parent | 983fa2a11721aa7d1307ef76d516e25a50d0eedf (diff) | |
download | tangerine-wallet-browser-8b919758e51e16536b6edaf33d4978d551363249.tar tangerine-wallet-browser-8b919758e51e16536b6edaf33d4978d551363249.tar.gz tangerine-wallet-browser-8b919758e51e16536b6edaf33d4978d551363249.tar.bz2 tangerine-wallet-browser-8b919758e51e16536b6edaf33d4978d551363249.tar.lz tangerine-wallet-browser-8b919758e51e16536b6edaf33d4978d551363249.tar.xz tangerine-wallet-browser-8b919758e51e16536b6edaf33d4978d551363249.tar.zst tangerine-wallet-browser-8b919758e51e16536b6edaf33d4978d551363249.zip |
Send Token screen partial UI
Diffstat (limited to 'ui/app/components/token-balance.js')
-rw-r--r-- | ui/app/components/token-balance.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/app/components/token-balance.js b/ui/app/components/token-balance.js index b4a249300..3a923eb9d 100644 --- a/ui/app/components/token-balance.js +++ b/ui/app/components/token-balance.js @@ -93,8 +93,10 @@ TokenBalance.prototype.componentDidUpdate = function (nextProps) { TokenBalance.prototype.updateBalance = function (tokens = []) { const [{ string, symbol }] = tokens + const { balanceOnly } = this.props + this.setState({ - balance: `${string} ${symbol}`, + balance: balanceOnly ? string : `${string} ${symbol}`, isLoading: false, }) } |