diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-06-15 11:42:48 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-06-15 11:55:56 +0800 |
commit | 0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6 (patch) | |
tree | ae3df7210232f9ad1c15c2597f15660ec8d783f7 /ui/app/reducers | |
parent | a80945e73075b8c0dc43a68ba73da65d7074e098 (diff) | |
download | tangerine-wallet-browser-0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6.tar tangerine-wallet-browser-0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6.tar.gz tangerine-wallet-browser-0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6.tar.bz2 tangerine-wallet-browser-0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6.tar.lz tangerine-wallet-browser-0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6.tar.xz 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.js | 10 |
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', |