aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-08-06 20:06:47 -0400
committerbobzel <zzzman@gmail.com>2020-08-06 20:06:47 -0400
commit7566ab0811a2503936f0a2e9a803db422dc1d44f (patch)
treeedb4dd5e7c19da62322bc8dff1fb10736d821c25 /src/client/documents/Documents.ts
parent002eb8c7cd45bf4ad3e4e1e99ccb70675029678b (diff)
parent318f2bab4f086ce626fc3f1d099d1a09e245f95d (diff)
merged presentation_updates with master
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 7719b3eef..61a44a39d 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -565,6 +565,7 @@ export namespace Docs {
// 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.
dataDoc[fieldKey + "-annotations"] = new List<Doc>();
+ dataDoc.aliases = new List<Doc>();
proto.links = ComputedField.MakeFunction("links(self)");