Skip to content

Commit

Permalink
Now showing loading icon on accept all
Browse files Browse the repository at this point in the history
  • Loading branch information
jfkonecn committed Oct 14, 2024
1 parent 298f9c8 commit 5ebc9a8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/main/webapp/app/pages/curation/review/ReviewPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,12 @@ const ReviewPage: React.FunctionComponent<IReviewPageProps> = (props: IReviewPag

const allEditors = editorReviewMap.getEditorList();

return props.firebaseInitSuccess && !props.loadingGenes && props.drugList !== undefined && props.drugList.length > 0 && !!geneEntity ? (
return props.firebaseInitSuccess &&
!props.loadingGenes &&
props.drugList !== undefined &&
props.drugList.length > 0 &&
!!geneEntity &&
!isAcceptingAll ? (
<div data-testid="review-page">
<GeneHeader
hugoSymbol={hugoSymbol}
Expand Down Expand Up @@ -206,7 +211,6 @@ const ReviewPage: React.FunctionComponent<IReviewPageProps> = (props: IReviewPag
</Row>
</>
)}
{(isAcceptingAll || isAccepting) && <LoadingIndicator key={'curation-page-loading'} size={LoaderSize.LARGE} center isLoading />}
{rootReview ? (
<Row data-testid="root-review">
<Col>
Expand Down

0 comments on commit 5ebc9a8

Please sign in to comment.