Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Commit

Permalink
Set reprompt to None if null in cipherView
Browse files Browse the repository at this point in the history
(cherry picked from commit 6007115)
  • Loading branch information
Hinton committed Jul 2, 2021
1 parent 55a9ea9 commit dbd9219
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/src/models/view/cipherView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit dbd9219

Please sign in to comment.