Return undefined when vault is uninitialized

feature/default_network_editable
Dan Finlay 8 years ago
parent 05ce7086f7
commit a3a64afdd5
  1. 2
      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 () {

Loading…
Cancel
Save