mirror of
https://github.com/bitwarden/browser.git
synced 2024-08-31 00:01:03 +02:00
reset folder id for ciphers. resolves #204
This commit is contained in:
parent
31bf22063e
commit
b393064f26
|
@ -294,6 +294,11 @@
|
|||
var index = $rootScope.vaultFolders.indexOf(folder);
|
||||
if (index > -1) {
|
||||
$rootScope.vaultFolders.splice(index, 1);
|
||||
for(var i = 0; i < $rootScope.vaultCiphers.length; i++) {
|
||||
if($rootScope.vaultCiphers[i].folderId === folder.id) {
|
||||
$rootScope.vaultCiphers[i].folderId = null;
|
||||
}
|
||||
}
|
||||
$scope.filterAll();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user