mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
Fixed issues where onReplaced and onUpdated are called multiple times
This commit is contained in:
@@ -71,12 +71,12 @@ function initFolderService() {
|
||||
cryptoService.getKey(false, function (key) {
|
||||
if (!key) {
|
||||
deferred.reject();
|
||||
return deferred.promise;
|
||||
return;
|
||||
}
|
||||
|
||||
if (self.decryptedFolderCache) {
|
||||
deferred.resolve(self.decryptedFolderCache);
|
||||
return deferred.promise;
|
||||
return;
|
||||
}
|
||||
|
||||
var promises = [];
|
||||
|
||||
Reference in New Issue
Block a user