aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorEsteban MIno <efmino@uc.cl>2018-07-27 07:28:12 +0800
committerEsteban MIno <efmino@uc.cl>2018-07-27 07:28:12 +0800
commit2827e13caab87692aa085af380355aeb42a13bdf (patch)
treea4be5d3e29dc98b65ee0de3f12a68b3f801927fc /ui
parent1d3ad7cfbbdf5831f10eed774244ba1ccedf25d1 (diff)
downloadtangerine-wallet-browser-2827e13caab87692aa085af380355aeb42a13bdf.tar
tangerine-wallet-browser-2827e13caab87692aa085af380355aeb42a13bdf.tar.gz
tangerine-wallet-browser-2827e13caab87692aa085af380355aeb42a13bdf.tar.bz2
tangerine-wallet-browser-2827e13caab87692aa085af380355aeb42a13bdf.tar.lz
tangerine-wallet-browser-2827e13caab87692aa085af380355aeb42a13bdf.tar.xz
tangerine-wallet-browser-2827e13caab87692aa085af380355aeb42a13bdf.tar.zst
tangerine-wallet-browser-2827e13caab87692aa085af380355aeb42a13bdf.zip
add & delete tokens per network
Diffstat (limited to 'ui')
-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,