diff options
| author | bob <bcz@cs.brown.edu> | 2019-09-25 12:11:08 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-09-25 12:11:08 -0400 |
| commit | 0a5b90021c0f48a3c5c6801b96b2c8834639a695 (patch) | |
| tree | 0a074fa7995a4ff62148c6086dcdf9759dfd2bae /src/client/views/nodes/DocumentView.tsx | |
| parent | b57741dbed846313e1b9d0dad3b6c8add2566277 (diff) | |
| parent | b69106994f5450e2ac2c515f28dacceb2e13b78b (diff) | |
Merge branch 'master' into pdf_refactor
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
| -rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index d8cfff973..e89fddd25 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -350,7 +350,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu // const docs = await SearchUtil.Search(`data_l:"${destDoc[Id]}"`, true); // const views = docs.map(d => DocumentManager.Instance.getDocumentView(d)).filter(d => d).map(d => d as DocumentView); de.data.linkSourceDocument !== this.props.Document && - (de.data.linkDocument = DocUtils.MakeLink(de.data.linkSourceDocument, this.props.Document, this.props.ContainingCollectionDoc)); + (de.data.linkDocument = DocUtils.MakeLink(de.data.linkSourceDocument, this.props.Document, this.props.ContainingCollectionDoc, undefined, "in-text link being created")); // TODODO this is where in text links get passed } } |
