aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PDFBox.tsx
diff options
context:
space:
mode:
authorAubrey Li <63608597+Aubrey-Li@users.noreply.github.com>2021-12-02 14:40:34 -0500
committerGitHub <noreply@github.com>2021-12-02 14:40:34 -0500
commitc415a692ed51563ea937901860d2532aede93d46 (patch)
treeaf24d05b564ca4e0011aee368a38eaedb7981d64 /src/client/views/nodes/PDFBox.tsx
parentc2cd77ca1d2a67539f0af2a68c1e7336b3bc232b (diff)
parent2cb18e75aa487ff98086e15fef93e2f549c30496 (diff)
Merge pull request #50 from brown-dash/trails-aubrey
Maps integration
Diffstat (limited to 'src/client/views/nodes/PDFBox.tsx')
-rw-r--r--src/client/views/nodes/PDFBox.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/nodes/PDFBox.tsx b/src/client/views/nodes/PDFBox.tsx
index 30b4dc92a..d54b65d92 100644
--- a/src/client/views/nodes/PDFBox.tsx
+++ b/src/client/views/nodes/PDFBox.tsx
@@ -136,6 +136,8 @@ export class PDFBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps
}
searchStringChanged = (e: React.ChangeEvent<HTMLInputElement>) => this._searchString = e.currentTarget.value;
+ // adding external documents; to sidebar key
+ // if (doc.Geolocation) this.addDocument(doc, this.fieldkey+"-annotation")
sidebarAddDocument = (doc: Doc | Doc[], sidebarKey?: string) => {
if (!this.layoutDoc._showSidebar) this.toggleSidebar();
return this.addDocument(doc, sidebarKey);