aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
diff options
context:
space:
mode:
authorSophie Zhang <sophie_zhang@brown.edu>2023-08-25 13:43:28 -0400
committerSophie Zhang <sophie_zhang@brown.edu>2023-08-25 13:43:28 -0400
commit509dbbcbb0d4d2e66497a8117fa71d8a2bf43d35 (patch)
treeb53111448b5cf20ee4fa4b64adca1867f9a3529f /src/client/views/collections
parentcf5ffaf0dcf4c2b8ad9e408026b494106401db8e (diff)
parentdca2fef8f8d4e068d9a5ab9ef6cd5636190d2ceb (diff)
Merge branch 'master' into sophie-ai-images
Diffstat (limited to 'src/client/views/collections')
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx
index 7c869af24..420e6a318 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinksView.tsx
@@ -12,10 +12,7 @@ export class CollectionFreeFormLinksView extends React.Component {
@computed get uniqueConnections() {
return Array.from(new Set(DocumentManager.Instance.LinkedDocumentViews))
.filter(c => !LightboxView.LightboxDoc || (LightboxView.IsLightboxDocView(c.a.docViewPath) && LightboxView.IsLightboxDocView(c.b.docViewPath)))
- .map(c => {
- console.log("got a connectoin", c)
- return <CollectionFreeFormLinkView key={c.l[Id]} A={c.a} B={c.b} LinkDocs={[c.l]} />;
- });
+ .map(c => <CollectionFreeFormLinkView key={c.l[Id]} A={c.a} B={c.b} LinkDocs={[c.l]} />);
}
render() {