Skip to content

Commit

Permalink
fix(gui): show indeterminate spinner when progress is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Feb 5, 2023
1 parent 54e07cb commit 4abd0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/src/components/LoadingCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function LoadingCard(props: LoadingCardProps) {
}

function renderProgress() {
if (ready.status === 'success') {
if (getProgress() > 0) {
return <CircularProgress variant='determinate' value={getPercent()} />;
} else {
return <CircularProgress />;
Expand Down

0 comments on commit 4abd0cb

Please sign in to comment.