mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
Properly converted date strings during imports and provided default values (#15398)
This commit is contained in:
@@ -353,14 +353,14 @@ export class Cipher extends Domain implements Decryptable<CipherView> {
|
||||
type: this.type,
|
||||
favorite: this.favorite ?? false,
|
||||
organizationUseTotp: this.organizationUseTotp ?? false,
|
||||
edit: this.edit,
|
||||
edit: this.edit ?? true,
|
||||
permissions: this.permissions
|
||||
? {
|
||||
delete: this.permissions.delete,
|
||||
restore: this.permissions.restore,
|
||||
}
|
||||
: undefined,
|
||||
viewPassword: this.viewPassword,
|
||||
viewPassword: this.viewPassword ?? true,
|
||||
localData: this.localData
|
||||
? {
|
||||
lastUsedDate: this.localData.lastUsedDate
|
||||
|
||||
Reference in New Issue
Block a user