Skip to content

Commit

Permalink
[Fixes GeoNode#1085] Spinner is missing during the upload phase (GeoN…
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidQuartz committed Jul 21, 2022
1 parent 980d7f9 commit 2d49fe6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function UploadCard({
</a>
: name}
</div>
{(state === 'PENDING' || state === 'COMPLETE') && progress < 100 ? <Spinner /> : null}
{progress < 100 ? <Spinner /> : null}
{onRemove
? <Button size="xs" onClick={onRemove}>
<FaIcon name="trash"/>
Expand Down

0 comments on commit 2d49fe6

Please sign in to comment.