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:
@@ -6,6 +6,7 @@ export class CollectionView implements View {
|
||||
id: string;
|
||||
organizationId: string;
|
||||
name: string;
|
||||
readOnly: boolean;
|
||||
|
||||
constructor(c?: Collection) {
|
||||
if (!c) {
|
||||
@@ -14,5 +15,6 @@ export class CollectionView implements View {
|
||||
|
||||
this.id = c.id;
|
||||
this.organizationId = c.organizationId;
|
||||
this.readOnly = c.readOnly;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user