mirror of
https://github.com/bitwarden/browser
synced 2026-02-07 04:03:29 +00:00
Update libs/tools/generator/extensions/history/src/key-definitions.ts
Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com>
This commit is contained in:
@@ -15,7 +15,7 @@ export const GENERATOR_HISTORY = SecretKeyDefinition.array(
|
||||
"localGeneratorHistory",
|
||||
SecretClassifier.allSecret<GeneratedCredential>(),
|
||||
{
|
||||
deserializer: (obj) => GeneratedCredential.fromJSON(obj!),
|
||||
deserializer: (obj) => obj && GeneratedCredential.fromJSON(obj),
|
||||
clearOn: ["logout"],
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user