mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 06:13:38 +00:00
Set reprompt to None if null (#422)
This commit is contained in:
@@ -53,7 +53,8 @@ export class CipherView implements View {
|
||||
this.collectionIds = c.collectionIds;
|
||||
this.revisionDate = c.revisionDate;
|
||||
this.deletedDate = c.deletedDate;
|
||||
this.reprompt = c.reprompt;
|
||||
// Old locally stored ciphers might have reprompt == null. If so set it to None.
|
||||
this.reprompt = c.reprompt ?? CipherRepromptType.None;
|
||||
}
|
||||
|
||||
get subTitle(): string {
|
||||
|
||||
Reference in New Issue
Block a user