mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 02:03:39 +00:00
added logout clear on option
This commit is contained in:
@@ -35,7 +35,7 @@ export const LUNR_SEARCH_INDEX = new UserKeyDefinition<SerializedLunrIndex>(
|
|||||||
"searchIndex",
|
"searchIndex",
|
||||||
{
|
{
|
||||||
deserializer: (obj: Jsonify<SerializedLunrIndex>) => obj,
|
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",
|
"searchIndexedEntityId",
|
||||||
{
|
{
|
||||||
deserializer: (obj: Jsonify<IndexedEntityId>) => obj,
|
deserializer: (obj: Jsonify<IndexedEntityId>) => obj,
|
||||||
clearOn: ["lock"],
|
clearOn: ["lock", "logout"],
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -61,7 +61,7 @@ export const LUNR_SEARCH_INDEXING = new UserKeyDefinition<boolean>(
|
|||||||
"isIndexing",
|
"isIndexing",
|
||||||
{
|
{
|
||||||
deserializer: (obj: Jsonify<boolean>) => obj,
|
deserializer: (obj: Jsonify<boolean>) => obj,
|
||||||
clearOn: ["lock"],
|
clearOn: ["lock", "logout"],
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user