1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 01:33:33 +00:00

add support for readonly flag on collections

This commit is contained in:
Kyle Spearrin
2018-06-11 14:32:35 -04:00
parent 4bd9a9fc11
commit 5db55496c2
4 changed files with 9 additions and 1 deletions

View File

@@ -2,10 +2,12 @@ export class CollectionResponse {
id: string;
organizationId: string;
name: string;
readOnly: boolean;
constructor(response: any) {
this.id = response.Id;
this.organizationId = response.OrganizationId;
this.name = response.Name;
this.readOnly = response.ReadOnly || false;
}
}