aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx
diff options
context:
space:
mode:
authorFawn <fangrui_tong@brown.edu>2019-06-20 17:12:48 -0400
committerFawn <fangrui_tong@brown.edu>2019-06-20 17:12:48 -0400
commite6ebed17e6ddb2ccee81d65fcb451a9b54302762 (patch)
treed614e48439da83bcdeb596099d7ecdab1bb8ad88 /src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx
parent4360287e6cafcb59af1ae62fc31ddc161bcf2e51 (diff)
links can be made from freeform view to treeview
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx')
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx
index 3c2ccecfc..6868e8187 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx
@@ -165,6 +165,9 @@ export class CollectionFreeFormLinksView extends React.Component<CollectionViewP
findUniquePairs = (): JSX.Element[] => {
let connections = DocumentManager.Instance.LinkedDocumentViews;
+ // console.log("CONNECTIONS");
+ // connections.forEach(c => console.log(StrCast(c.anchor1View.Document.title), StrCast(c.anchor2View.Document.title)));
+
let unique: Set<{ sourceView: DocumentView, targetView: DocumentView, linkDoc: Doc }> = new Set();
connections.forEach(c => {