aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-03-17 18:32:51 -0400
committerbobzel <zzzman@gmail.com>2021-03-17 18:32:51 -0400
commit6f4f0ffb9f4ab816cf6055c62afc6f79b8e4961f (patch)
treeb1f238076751b2b2e969373403e9be8da29ccd05 /src/client/documents/Documents.ts
parent73dc79ddc41b56e2f36a5b2e442fe9c71648b118 (diff)
fix Doc.MakeClone to deal wth links correctly again. fixed dashboard snapshot to either alias top-level documents, or clone everything.
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 0a3865a13..8aa478cc1 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -780,8 +780,6 @@ export namespace Docs {
LinkManager.Instance.addLink(doc);
- source.doc.links === undefined && (Doc.GetProto(source.doc).links = ComputedField.MakeFunction("links(self)"));
- target.doc.links === undefined && (Doc.GetProto(target.doc).links = ComputedField.MakeFunction("links(self)"));
return doc;
}