aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/views/collections/CollectionFreeFormView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionFreeFormView.tsx b/src/client/views/collections/CollectionFreeFormView.tsx
index 0843d3670..5ce42acc9 100644
--- a/src/client/views/collections/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/CollectionFreeFormView.tsx
@@ -429,7 +429,7 @@ export class LinksView extends React.Component<CollectionViewProps> {
@observable _triples: { a: Document, b: Document, l: Document }[] = [];
findPairs() {
- return DocumentManager.Instance.DocumentViews.filter(dv => dv.props.ContainingCollectionView && dv.props.ContainingCollectionView.props.Document === this.props.Document).reduce((pairs, dv) => {
+ let self = this.props.Document;
return DocumentManager.Instance.DocumentViews.reduce((pairs, dv) => {
let srcViews = [dv];