aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-12-22 09:20:14 +0800
committerDan Finlay <dan@danfinlay.com>2016-12-22 09:20:14 +0800
commita3a64afdd5b2ed6bbed8c8dba5cc0f14d4a1ad99 (patch)
treeafff0dce44b39e634caac14c1643b03d8ef729f0 /app
parent05ce7086f78e344aee23bb95de56d28317074a7d (diff)
downloadtangerine-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
Diffstat (limited to 'app')
-rw-r--r--app/scripts/lib/config-manager.js2
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 () {