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

dont make date obj from revision date

This commit is contained in:
Kyle Spearrin
2018-07-30 10:50:22 -04:00
parent c0f6fa2db1
commit b21cb789da

View File

@@ -37,7 +37,7 @@ export class CipherResponse {
this.favorite = response.Favorite || false; this.favorite = response.Favorite || false;
this.edit = response.Edit || true; this.edit = response.Edit || true;
this.organizationUseTotp = response.OrganizationUseTotp; this.organizationUseTotp = response.OrganizationUseTotp;
this.revisionDate = new Date(response.RevisionDate); this.revisionDate = response.RevisionDate;
if (response.Login != null) { if (response.Login != null) {
this.login = new LoginApi(response.Login); this.login = new LoginApi(response.Login);