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

@@ -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;
}
}