aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorusodhi <61431818+usodhi@users.noreply.github.com>2020-07-29 23:42:36 +0530
committerusodhi <61431818+usodhi@users.noreply.github.com>2020-07-29 23:42:36 +0530
commit188d9053edbc165e14a4e98124aad0525dd2a28e (patch)
tree35c53a34c88683241dc179cc33c40770a3e1e6a7 /src/client/documents/Documents.ts
parent2fb042f575626cc6f938eec57c8e71e45ff6b1d5 (diff)
parent364da51465e05404479cb5682d2e2043e6855b23 (diff)
fixed merge conflicts
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index cd2792226..2cd781a53 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -926,9 +926,6 @@ export namespace DocUtils {
linkDoc.layout_linkView = Cast(Cast(Doc.UserDoc()["template-button-link"], Doc, null).dragFactory, Doc, null);
Doc.GetProto(linkDoc).title = ComputedField.MakeFunction('self.anchor1?.title +" (" + (self.linkRelationship||"to") +") " + self.anchor2?.title');
- Doc.GetProto(source.doc).links = ComputedField.MakeFunction("links(self)");
- Doc.GetProto(target.doc).links = ComputedField.MakeFunction("links(self)");
-
return linkDoc;
}
@@ -1056,6 +1053,7 @@ export namespace DocUtils {
}
});
batch.end();
+ return doc;
}
export function findTemplate(templateName: string, type: string, signature: string) {
let docLayoutTemplate: Opt<Doc>;