From 65f2768411a7b29f7b459b349554236e0a41444f Mon Sep 17 00:00:00 2001 From: brantje Date: Tue, 27 Sep 2016 21:23:43 +0200 Subject: [PATCH] Might fix the loop --- js/app/controllers/vault.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/app/controllers/vault.js b/js/app/controllers/vault.js index 974ee630..5e367729 100644 --- a/js/app/controllers/vault.js +++ b/js/app/controllers/vault.js @@ -24,7 +24,7 @@ angular.module('passmanApp') $scope.default_vault = true; $scope.list_selected_vault = vault; SettingsService.setSetting('defaultVault', vault); - if (SettingsService.getSetting('defaultVaultPass') != '') { + if (SettingsService.getSetting('defaultVaultPass')) { $location.path('/vault/' + vault.vault_id); } break;