diff options
| author | alyssaf16 <alyssa_feinberg@brown.edu> | 2024-05-17 13:18:40 -0400 |
|---|---|---|
| committer | alyssaf16 <alyssa_feinberg@brown.edu> | 2024-05-17 13:18:40 -0400 |
| commit | 5ff0bef5d3c4825aa7210a26c98aae3b24f4a835 (patch) | |
| tree | 9c08c1631f8aa59d1ca1073b7064228061ff5a83 /src/client/views/pdf/PDFViewer.tsx | |
| parent | 3fb9eada221670022aa575c72fb89103638c3cbd (diff) | |
chatcards, quizcards, and ai flashcards
Diffstat (limited to 'src/client/views/pdf/PDFViewer.tsx')
| -rw-r--r-- | src/client/views/pdf/PDFViewer.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/views/pdf/PDFViewer.tsx b/src/client/views/pdf/PDFViewer.tsx index cecaf17ff..fe1ed8159 100644 --- a/src/client/views/pdf/PDFViewer.tsx +++ b/src/client/views/pdf/PDFViewer.tsx @@ -414,12 +414,10 @@ export class PDFViewer extends ObservableReactComponent<IViewerProps> { AnchorMenu.Instance.jumpTo(e.clientX, e.clientY); } - // Changing which document to add the annotation to (the currently selected PDF) GPTPopup.Instance.setSidebarId('data_sidebar'); GPTPopup.Instance.addDoc = this._props.sidebarAddDoc; + // allows for creating collection AnchorMenu.Instance.addToCollection = this._props.DocumentView?.()._props.addDocument; - // const newDoc = Docs.Create.ComparisonDocument({ _layout_isFlashcard: true, _width: 300, _height: 300 }); - // this.props.addDocument?.(newDoc); }; @action |
