aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-06-15 11:42:48 +0800
committerDan Finlay <dan@danfinlay.com>2017-06-15 11:55:56 +0800
commit0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6 (patch)
treeae3df7210232f9ad1c15c2597f15660ec8d783f7 /ui/app/reducers
parenta80945e73075b8c0dc43a68ba73da65d7074e098 (diff)
downloadtangerine-wallet-browser-0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6.tar.gz
tangerine-wallet-browser-0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6.tar.zst
tangerine-wallet-browser-0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6.zip
Create add token button and template view
Diffstat (limited to 'ui/app/reducers')
-rw-r--r--ui/app/reducers/app.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js
index deacad0a7..2fcc9bfe0 100644
--- a/ui/app/reducers/app.js
+++ b/ui/app/reducers/app.js
@@ -103,7 +103,17 @@ function reduceApp (state, action) {
transForward: action.value,
})
+ case actions.SHOW_ADD_TOKEN_PAGE:
+ return extend(appState, {
+ currentView: {
+ name: 'add-token',
+ context: appState.currentView.context,
+ },
+ transForward: action.value,
+ })
+
case actions.SHOW_IMPORT_PAGE:
+
return extend(appState, {
currentView: {
name: 'import-menu',