1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 06:13:38 +00:00

logout issues with cache fixed. updated chrome store images

This commit is contained in:
Kyle Spearrin
2016-09-22 17:00:56 -04:00
parent f1792c6be6
commit 3f95c3a7ea
7 changed files with 11 additions and 3 deletions

View File

@@ -82,8 +82,10 @@ function initFolderService() {
}
Q.all(promises).then(function () {
self.decryptedFolderCache = decFolders;
deferred.resolve(self.decryptedFolderCache);
if (decFolders.length > 0) {
self.decryptedFolderCache = decFolders;
}
deferred.resolve(decFolders);
});
});
@@ -177,6 +179,8 @@ function initFolderService() {
throw 'callback function required';
}
var self = this;
chrome.storage.local.remove('folders_' + userId, function () {
self.decryptedFolderCache = null;
callback();