1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 18:23:31 +00:00

[AC-1689] Add hidePasswords property to collection data and response models (#6451)

This commit is contained in:
Thomas Rittson
2023-10-03 13:30:24 +10:00
committed by GitHub
parent 32121dabe4
commit 512af1e923
3 changed files with 6 additions and 1 deletions

View File

@@ -18,10 +18,12 @@ export class CollectionResponse extends BaseResponse {
export class CollectionDetailsResponse extends CollectionResponse {
readOnly: boolean;
hidePasswords: boolean;
constructor(response: any) {
super(response);
this.readOnly = this.getResponseProperty("ReadOnly") || false;
this.hidePasswords = this.getResponseProperty("HidePasswords") || false;
}
}