aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-06-26 16:40:24 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-06-26 16:40:24 -0400
commit659da12d9f3fe1d57a55dbb5a44ad30d03337aae (patch)
tree4ce26ffcfc70b89c374646fbf6b9e5685e6abab3 /src/client/documents/Documents.ts
parenteaee04b09b9b91587733f2d8554d6176ae2e678d (diff)
updated pdfjs. fixed position of blue dot for pdfs. enabled fixed
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 6c2c6faea..6724df657 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -526,6 +526,8 @@ export namespace Docs {
const dataDoc = MakeDataDelegate(proto, protoProps, data, fieldKey);
const viewDoc = Doc.MakeDelegate(dataDoc, delegId);
+ proto.links = ComputedField.MakeFunction("links(self)");
+
viewDoc.author = Doc.CurrentUserEmail;
viewDoc.type !== DocumentType.LINK && DocUtils.MakeLinkToActiveAudio(viewDoc);