aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-03-28 13:00:03 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-03-28 13:00:03 -0400
commite64ec4345b8403347e86ac8c472507343f6b7548 (patch)
treecc875e7d5b68e04a1d22ce5cc5e1a3dc692ac29b
parentfddd13da196a26affe61b30d93a3fe1b24f391a6 (diff)
from last
-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];