mirror of
https://github.com/bitwarden/browser
synced 2026-01-08 03:23:50 +00:00
sync folders and ciphers. fix dates
This commit is contained in:
@@ -8,6 +8,7 @@ import Domain from './domain';
|
||||
export class Folder extends Domain {
|
||||
id: string;
|
||||
name: CipherString;
|
||||
revisionDate: Date;
|
||||
|
||||
constructor(obj?: FolderData, alreadyEncrypted: boolean = false) {
|
||||
super();
|
||||
@@ -19,6 +20,8 @@ export class Folder extends Domain {
|
||||
id: null,
|
||||
name: null,
|
||||
}, alreadyEncrypted, ['id']);
|
||||
|
||||
this.revisionDate = obj.revisionDate != null ? new Date(obj.revisionDate) : null;
|
||||
}
|
||||
|
||||
decrypt(): Promise<FolderView> {
|
||||
|
||||
Reference in New Issue
Block a user