aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/GPTPopup
diff options
context:
space:
mode:
authorsrichman333 <sarah_n_richman@brown.edu>2024-02-21 21:40:26 -0500
committersrichman333 <sarah_n_richman@brown.edu>2024-02-21 21:40:26 -0500
commit9f2f3875e5bf1b9f8058001d45918208d5ea820a (patch)
treefe58a304c61bb840cf6d9205a1b2a2a87e0b2c72 /src/client/views/pdf/GPTPopup
parent88caa55967b1dbf670b156dd08efc4f559067af7 (diff)
updated prompt
Diffstat (limited to 'src/client/views/pdf/GPTPopup')
-rw-r--r--src/client/views/pdf/GPTPopup/GPTPopup.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/views/pdf/GPTPopup/GPTPopup.tsx b/src/client/views/pdf/GPTPopup/GPTPopup.tsx
index 6e5f48a2f..a14c659db 100644
--- a/src/client/views/pdf/GPTPopup/GPTPopup.tsx
+++ b/src/client/views/pdf/GPTPopup/GPTPopup.tsx
@@ -269,7 +269,10 @@ export class GPTPopup extends ObservableReactComponent<GPTPopupProps> {
<div className="btns-wrapper">
{this.done ? (
<>
+ {this.mode==GPTPopupMode.SUMMARY?
<IconButton tooltip="Generate Again" onClick={this.callSummaryApi} icon={<FontAwesomeIcon icon="redo-alt" size="lg" />} color={StrCast(Doc.UserDoc().userVariantColor)} />
+ : null }
+ {/* <IconButton tooltip="Generate Again" onClick={this.callSummaryApi} icon={<FontAwesomeIcon icon="redo-alt" size="lg" />} color={StrCast(Doc.UserDoc().userVariantColor)} /> */}
<Button tooltip="Transfer to text" text="Transfer To Text" onClick={this.transferToText} color={StrCast(Doc.UserDoc().userVariantColor)} type={Type.TERT} />
</>
) : (