aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authoranika-ahluwalia <anika.ahluwalia@gmail.com>2020-08-06 19:25:26 -0500
committeranika-ahluwalia <anika.ahluwalia@gmail.com>2020-08-06 19:25:26 -0500
commit5ecece1bb09010a2e61b38f1804bd22775cd5ea4 (patch)
tree404c92d3387fd94c3346cd0e7d113ca430b54a80 /src/client/documents/Documents.ts
parent915bb3796541116897dfc016a0ed3253c2f856cc (diff)
parent0910e7387fae485d7c11eb71b6abcce865403b13 (diff)
Merge branch 'presentation_updates' into menu_restructure
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 3b5f10050..b566ce73f 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -566,6 +566,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)");