diff options
author | kimdahey <claire_kim1@brown.edu> | 2019-09-22 15:29:02 -0400 |
---|---|---|
committer | kimdahey <claire_kim1@brown.edu> | 2019-09-22 15:29:02 -0400 |
commit | 81551fad8582129bc05581cdd132cada5e9f23db (patch) | |
tree | d3eadc8252a5ec7bbcd831f4036e395d12141778 /src/client/views/nodes/DocumentView.tsx | |
parent | 0b0789816e8a996b32d92e305da84b5922a49f40 (diff) |
error with key duplicates, but 2+ links to same doc works now
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 } } |