aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorDan Finlay <542863+danfinlay@users.noreply.github.com>2018-08-08 04:30:26 +0800
committerGitHub <noreply@github.com>2018-08-08 04:30:26 +0800
commite9f74f005de581377bc0a605e4696840dfb95ba9 (patch)
treefc3c7dffa506f25231983a0a1f41a65354798915 /ui/app/actions.js
parentd549c4b871b3e3ccbaaffd0616f2550e138d4ecf (diff)
parent66c76c04ef5d0bfbe3881ea1dadf7c43c93a262e (diff)
downloadtangerine-wallet-browser-e9f74f005de581377bc0a605e4696840dfb95ba9.tar
tangerine-wallet-browser-e9f74f005de581377bc0a605e4696840dfb95ba9.tar.gz
tangerine-wallet-browser-e9f74f005de581377bc0a605e4696840dfb95ba9.tar.bz2
tangerine-wallet-browser-e9f74f005de581377bc0a605e4696840dfb95ba9.tar.lz
tangerine-wallet-browser-e9f74f005de581377bc0a605e4696840dfb95ba9.tar.xz
tangerine-wallet-browser-e9f74f005de581377bc0a605e4696840dfb95ba9.tar.zst
tangerine-wallet-browser-e9f74f005de581377bc0a605e4696840dfb95ba9.zip
Merge pull request #4884 from MetaMask/TokensPerAccountBasis
Tokens per account & network basis
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 7a8d9667d..4f71d911b 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -1483,11 +1483,12 @@ function showAccountDetail (address) {
return (dispatch) => {
dispatch(actions.showLoadingIndication())
log.debug(`background.setSelectedAddress`)
- background.setSelectedAddress(address, (err) => {
+ background.setSelectedAddress(address, (err, tokens) => {
dispatch(actions.hideLoadingIndication())
if (err) {
return dispatch(actions.displayWarning(err.message))
}
+ dispatch(updateTokens(tokens))
dispatch({
type: actions.SHOW_ACCOUNT_DETAIL,
value: address,