mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-02 18:17:46 +01: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