Skip to content

Commit

Permalink
[Fixes #1097] Spinner should not keep spinning in INVALID state (#1098)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidQuartz authored Jul 18, 2022
1 parent 243331d commit e6b4c1b
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>
{progress < 100 ? <Spinner /> : null}
{(progress < 100 && progress > 0) ? <Spinner /> : null}
{onRemove
? <Button size="xs" onClick={onRemove}>
<FaIcon name="trash"/>
Expand Down

0 comments on commit e6b4c1b

Please sign in to comment.