mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-26 17:08:33 +01:00
clear search index
This commit is contained in:
parent
4ab36bc8ee
commit
ff6e86e84d
2
jslib
2
jslib
@ -1 +1 @@
|
||||
Subproject commit d917651d9f844dc07abf3e817073aa1e10213b9a
|
||||
Subproject commit 364192b27a54d76bd95929ee88a954548c0229c9
|
@ -138,12 +138,13 @@ export default class MainBackground {
|
||||
this.storageService, this.i18nService, this.cipherService);
|
||||
this.collectionService = new CollectionService(this.cryptoService, this.userService, this.storageService,
|
||||
this.i18nService);
|
||||
this.searchService = new SearchService(this.cipherService, this.platformUtilsService);
|
||||
this.lockService = new LockService(this.cipherService, this.folderService, this.collectionService,
|
||||
this.cryptoService, this.platformUtilsService, this.storageService, this.messagingService, async () => {
|
||||
this.cryptoService, this.platformUtilsService, this.storageService, this.messagingService,
|
||||
this.searchService, async () => {
|
||||
await this.setIcon();
|
||||
await this.refreshBadgeAndMenu(true);
|
||||
});
|
||||
this.searchService = new SearchService(this.cipherService, this.platformUtilsService);
|
||||
this.syncService = new SyncService(this.userService, this.apiService, this.settingsService,
|
||||
this.folderService, this.cipherService, this.cryptoService, this.collectionService,
|
||||
this.storageService, this.messagingService, async (expired: boolean) => await this.logout(expired));
|
||||
@ -265,6 +266,7 @@ export default class MainBackground {
|
||||
this.passwordGenerationService.clear(),
|
||||
]);
|
||||
|
||||
this.searchService.clearIndex();
|
||||
this.messagingService.send('doneLoggingOut', { expired: expired });
|
||||
|
||||
await this.setIcon();
|
||||
|
Loading…
Reference in New Issue
Block a user