1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-28 06:03:40 +00:00

Merge branches 'vault/PM-7400' and 'main' of github.com:bitwarden/clients

This commit is contained in:
gbubemismith
2024-04-11 17:46:35 +01:00
3 changed files with 3 additions and 9 deletions

View File

@@ -35,7 +35,7 @@ export const LUNR_SEARCH_INDEX = new UserKeyDefinition<SerializedLunrIndex>(
"searchIndex",
{
deserializer: (obj: Jsonify<SerializedLunrIndex>) => obj,
clearOn: ["lock"],
clearOn: ["lock", "logout"],
},
);
@@ -48,7 +48,7 @@ export const LUNR_SEARCH_INDEXED_ENTITY_ID = new UserKeyDefinition<IndexedEntity
"searchIndexedEntityId",
{
deserializer: (obj: Jsonify<IndexedEntityId>) => obj,
clearOn: ["lock"],
clearOn: ["lock", "logout"],
},
);
@@ -61,7 +61,7 @@ export const LUNR_SEARCH_INDEXING = new UserKeyDefinition<boolean>(
"isIndexing",
{
deserializer: (obj: Jsonify<boolean>) => obj,
clearOn: ["lock"],
clearOn: ["lock", "logout"],
},
);