1
0
Fork 0

fix(gui): show indeterminate spinner when progress is not available

This commit is contained in:
Sean Sube 2023-02-05 17:43:04 -06:00
parent 54e07cb1b1
commit 4abd0cb8a3
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ export function LoadingCard(props: LoadingCardProps) {
} }
function renderProgress() { function renderProgress() {
if (ready.status === 'success') { if (getProgress() > 0) {
return <CircularProgress variant='determinate' value={getPercent()} />; return <CircularProgress variant='determinate' value={getPercent()} />;
} else { } else {
return <CircularProgress />; return <CircularProgress />;