diff options
author | kumavis <kumavis@users.noreply.github.com> | 2018-01-03 05:36:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-03 05:36:51 +0800 |
commit | e572768cb105a400a53ebbedb69d58b83d8a9f28 (patch) | |
tree | 8ff17aa4b7685500ecb1b3b975ea1cc3763b0f92 | |
parent | 849b8fab93977fb986479b7ca278844286d5b999 (diff) | |
parent | 1da385f78b9e61e7a17c19164558779a37376868 (diff) | |
download | tangerine-wallet-browser-e572768cb105a400a53ebbedb69d58b83d8a9f28.tar tangerine-wallet-browser-e572768cb105a400a53ebbedb69d58b83d8a9f28.tar.gz tangerine-wallet-browser-e572768cb105a400a53ebbedb69d58b83d8a9f28.tar.bz2 tangerine-wallet-browser-e572768cb105a400a53ebbedb69d58b83d8a9f28.tar.lz tangerine-wallet-browser-e572768cb105a400a53ebbedb69d58b83d8a9f28.tar.xz tangerine-wallet-browser-e572768cb105a400a53ebbedb69d58b83d8a9f28.tar.zst tangerine-wallet-browser-e572768cb105a400a53ebbedb69d58b83d8a9f28.zip |
Merge pull request #2840 from oosthuizenr/master
UI - Never show seed phrase if locked
-rw-r--r-- | ui/app/app.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index bd0ccb0a2..bc198b482 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -460,11 +460,6 @@ App.prototype.renderPrimary = function () { }) } - if (props.seedWords) { - log.debug('rendering seed words') - return h(HDCreateVaultComplete, {key: 'HDCreateVaultComplete'}) - } - // show initialize screen if (!props.isInitialized || props.forgottenPassword) { // show current view @@ -499,6 +494,12 @@ App.prototype.renderPrimary = function () { } } + // show seed words screen + if (props.seedWords) { + log.debug('rendering seed words') + return h(HDCreateVaultComplete, {key: 'HDCreateVaultComplete'}) + } + // show current view switch (props.currentView.name) { |