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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user