diff options
author | bobzel <zzzman@gmail.com> | 2025-02-13 10:21:35 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-02-13 10:21:35 -0500 |
commit | 6b58fb76b11f21648ca2bc551f97b6e09e4be13b (patch) | |
tree | 94d9a20518f6c9f6849d47d81ba4d780781d355f /src | |
parent | 8ec3055971ed3d79289e90c1fc2d0db5df131fe5 (diff) |
from last
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/pdf/GPTPopup/GPTPopup.tsx | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/client/views/pdf/GPTPopup/GPTPopup.tsx b/src/client/views/pdf/GPTPopup/GPTPopup.tsx index 628766209..2d95ac2eb 100644 --- a/src/client/views/pdf/GPTPopup/GPTPopup.tsx +++ b/src/client/views/pdf/GPTPopup/GPTPopup.tsx @@ -497,19 +497,7 @@ export class GPTPopup extends ObservableReactComponent<object> { sortBox = (isSort: boolean) => ( <div className="gptPopup-sortBox" style={{ height: '80%' }}> {this.heading(isSort ? 'SORTING' : 'QUIZ')} - {!this.cardsDoneLoading ? ( - <div className="content-wrapper"> - <div className="loading-spinner"> - a - <ReactLoading type="spin" color={StrCast(Doc.UserDoc().userVariantColor)} height={30} width={30} /> - {this.loading ? <span>Loading...</span> : <span>Reading Cards...</span>} - </div> - </div> - ) : this.mode === GPTPopupMode.CARD ? ( - this.cardMenu() - ) : ( - this.cardActual(isSort) - )} + {this.mode === GPTPopupMode.CARD ? this.cardMenu() : this.cardActual(isSort)} </div> ); |