mirror of
https://github.com/nextcloud/passman.git
synced 2025-02-26 16:33:03 +08:00
Might fix the loop
This commit is contained in:
parent
f589282db0
commit
65f2768411
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue