aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf
diff options
context:
space:
mode:
authorsrichman333 <sarah_n_richman@brown.edu>2024-03-05 16:17:14 -0500
committersrichman333 <sarah_n_richman@brown.edu>2024-03-05 16:17:14 -0500
commitdfef33c3f1cde9a24d734e0bd47e7f377a3ae4c9 (patch)
tree65d3a8a483bf9a02b01d4cee3a39a71d8c42786e /src/client/views/pdf
parent90183d3c7315d5fc88d2653937c5b59309a79b0e (diff)
chat resets for new boxes to analyze
Diffstat (limited to 'src/client/views/pdf')
-rw-r--r--src/client/views/pdf/GPTPopup/GPTPopup.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/pdf/GPTPopup/GPTPopup.tsx b/src/client/views/pdf/GPTPopup/GPTPopup.tsx
index 5f399e86a..29b1ca365 100644
--- a/src/client/views/pdf/GPTPopup/GPTPopup.tsx
+++ b/src/client/views/pdf/GPTPopup/GPTPopup.tsx
@@ -59,6 +59,7 @@ export class GPTPopup extends ObservableReactComponent<GPTPopupProps> {
public dataChatPrompt: string | null = null;
@action
public setDataJson = (text: string) => {
+ if (text=="") this.dataChatPrompt = "";
this.dataJson = text;
};