aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-06-13 20:11:30 -0400
committerbobzel <zzzman@gmail.com>2022-06-13 20:11:30 -0400
commit30f7330c82810d03373fbe63fd10796a090dece9 (patch)
treea9fbb7302b87bfd867c32b88ea23721f13d6c4b9 /src/client/documents/Documents.ts
parent576e5d1832349ffcf6d64367fa0c35f96e222fe4 (diff)
parent18fb08801442e6d1d98eb3a7de20f654be56d6ac (diff)
Merge branch 'master' into mainview-jenny
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 0bb6ce27f..b290b2d58 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -663,6 +663,7 @@ export namespace Docs {
// so that the list of annotations is already initialised, prevents issues in addonly.
// without this, if a doc has no annotations but the user has AddOnly privileges, they won't be able to add an annotation because they would have needed to create the field's list which they don't have permissions to do.
dataProps[fieldKey + "-annotations"] = new List<Doc>();
+ dataProps[fieldKey + "-sidebar"] = new List<Doc>();
const dataDoc = Doc.assign(Doc.MakeDelegate(proto, protoId), dataProps, undefined, true);
const viewFirstProps: { [id: string]: any } = {};