1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 14:23:32 +00:00

map localdata in ctor of cipher

This commit is contained in:
Kyle Spearrin
2017-11-21 14:02:02 -05:00
parent 46363ee674
commit a0b9ba4898

View File

@@ -51,6 +51,7 @@ class Cipher extends Domain {
this.favorite = obj.favorite; this.favorite = obj.favorite;
this.organizationUseTotp = obj.organizationUseTotp; this.organizationUseTotp = obj.organizationUseTotp;
this.edit = obj.edit; this.edit = obj.edit;
this.localData = localData;
switch (this.type) { switch (this.type) {
case CipherType.Login: case CipherType.Login: