1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

fix encryptCipherData

This commit is contained in:
Kyle Spearrin
2018-01-24 13:27:32 -05:00
parent bb18729306
commit 9fe0cfb2d8
2 changed files with 14 additions and 7 deletions

View File

@@ -30,7 +30,11 @@ export class CipherView implements View {
// tslint:disable-next-line
private _subTitle: string;
constructor(c: Cipher) {
constructor(c?: Cipher) {
if (!c) {
return;
}
this.id = c.id;
this.organizationId = c.organizationId;
this.folderId = c.folderId;