diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-12-22 09:20:14 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-12-22 09:20:14 +0800 |
commit | a3a64afdd5b2ed6bbed8c8dba5cc0f14d4a1ad99 (patch) | |
tree | afff0dce44b39e634caac14c1643b03d8ef729f0 | |
parent | 05ce7086f78e344aee23bb95de56d28317074a7d (diff) | |
download | tangerine-wallet-browser-a3a64afdd5b2ed6bbed8c8dba5cc0f14d4a1ad99.tar tangerine-wallet-browser-a3a64afdd5b2ed6bbed8c8dba5cc0f14d4a1ad99.tar.gz tangerine-wallet-browser-a3a64afdd5b2ed6bbed8c8dba5cc0f14d4a1ad99.tar.bz2 tangerine-wallet-browser-a3a64afdd5b2ed6bbed8c8dba5cc0f14d4a1ad99.tar.lz tangerine-wallet-browser-a3a64afdd5b2ed6bbed8c8dba5cc0f14d4a1ad99.tar.xz tangerine-wallet-browser-a3a64afdd5b2ed6bbed8c8dba5cc0f14d4a1ad99.tar.zst tangerine-wallet-browser-a3a64afdd5b2ed6bbed8c8dba5cc0f14d4a1ad99.zip |
Return undefined when vault is uninitialized
-rw-r--r-- | app/scripts/lib/config-manager.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/lib/config-manager.js b/app/scripts/lib/config-manager.js index d36ccf0db..ede877b76 100644 --- a/app/scripts/lib/config-manager.js +++ b/app/scripts/lib/config-manager.js @@ -121,7 +121,7 @@ ConfigManager.prototype.setVault = function (encryptedString) { ConfigManager.prototype.getVault = function () { var data = this.getData() - return ('vault' in data) && data.vault + return data.vault } ConfigManager.prototype.getKeychains = function () { |