aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/PDFViewer.tsx
diff options
context:
space:
mode:
authorA.J. Shulman <Shulman.aj@gmail.com>2025-02-24 16:10:29 -0500
committerA.J. Shulman <Shulman.aj@gmail.com>2025-02-24 16:10:29 -0500
commit7b0bd66a0ad22b5a5cb17e76e811b59c6c7ca729 (patch)
tree7ee37b74c8ba511ac59160f9b11f251861faab1d /src/client/views/pdf/PDFViewer.tsx
parenta26c670b49a8631779869baf493135a59b92f523 (diff)
parent383a8a2f017c12c578537d3cb3005e00be019bd7 (diff)
Merge branch 'master' into ajs-finalagent
Diffstat (limited to 'src/client/views/pdf/PDFViewer.tsx')
-rw-r--r--src/client/views/pdf/PDFViewer.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/pdf/PDFViewer.tsx b/src/client/views/pdf/PDFViewer.tsx
index 8728ce99c..167421a4a 100644
--- a/src/client/views/pdf/PDFViewer.tsx
+++ b/src/client/views/pdf/PDFViewer.tsx
@@ -437,7 +437,7 @@ export class PDFViewer extends ObservableReactComponent<IViewerProps> {
AnchorMenu.Instance.jumpTo(e.clientX, e.clientY);
}
- GPTPopup.Instance.setSidebarId('data_sidebar');
+ GPTPopup.Instance.setSidebarFieldKey('data_sidebar');
GPTPopup.Instance.addDoc = this._props.sidebarAddDoc;
// allows for creating collection
AnchorMenu.Instance.addToCollection = this._props.DocumentView?.()._props.addDocument;