aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/GPTPopup
diff options
context:
space:
mode:
authoraidahosa1 <aisosa_idahosa@brown.edu>2024-05-18 02:49:43 -0400
committeraidahosa1 <aisosa_idahosa@brown.edu>2024-05-18 02:49:43 -0400
commit68b00ed7e782fd237cdcdcb30f55814874854187 (patch)
tree7f9e7b94d670381734f93fd4beb1927ee6e8a523 /src/client/views/pdf/GPTPopup
parente168e0e880db808589d4c0a85e37c30b177bdb8e (diff)
perchance time to pull
Diffstat (limited to 'src/client/views/pdf/GPTPopup')
-rw-r--r--src/client/views/pdf/GPTPopup/GPTPopup.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/pdf/GPTPopup/GPTPopup.tsx b/src/client/views/pdf/GPTPopup/GPTPopup.tsx
index 3d138fa7d..4fb757d8a 100644
--- a/src/client/views/pdf/GPTPopup/GPTPopup.tsx
+++ b/src/client/views/pdf/GPTPopup/GPTPopup.tsx
@@ -156,7 +156,9 @@ export class GPTPopup extends ObservableReactComponent<GPTPopupProps> {
public addDoc: (doc: Doc | Doc[], sidebarKey?: string | undefined) => boolean = () => false;
public addToCollection: ((doc: Doc | Doc[], annotationKey?: string | undefined) => boolean) | undefined;
-
+ /**
+ * Sorts cards in the CollectionCardDeckView
+ */
generateSort = async () => {
this.setLoading(true);
this.setSortDone(false);