mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
Merge pull request #103 from Hinton/patch-1
Resolve edit always being true for ciphers
This commit is contained in:
@@ -38,7 +38,7 @@ export class CipherResponse extends BaseResponse {
|
|||||||
this.name = this.getResponseProperty('Name');
|
this.name = this.getResponseProperty('Name');
|
||||||
this.notes = this.getResponseProperty('Notes');
|
this.notes = this.getResponseProperty('Notes');
|
||||||
this.favorite = this.getResponseProperty('Favorite') || false;
|
this.favorite = this.getResponseProperty('Favorite') || false;
|
||||||
this.edit = this.getResponseProperty('Edit') || true;
|
this.edit = !!this.getResponseProperty('Edit');
|
||||||
this.organizationUseTotp = this.getResponseProperty('OrganizationUseTotp');
|
this.organizationUseTotp = this.getResponseProperty('OrganizationUseTotp');
|
||||||
this.revisionDate = this.getResponseProperty('RevisionDate');
|
this.revisionDate = this.getResponseProperty('RevisionDate');
|
||||||
this.collectionIds = this.getResponseProperty('CollectionIds');
|
this.collectionIds = this.getResponseProperty('CollectionIds');
|
||||||
|
|||||||
Reference in New Issue
Block a user