From 4abd0cb8a31d13cf57e33dcc5dbc70545fac6af2 Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Sun, 5 Feb 2023 17:43:04 -0600 Subject: [PATCH] fix(gui): show indeterminate spinner when progress is not available --- gui/src/components/LoadingCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/src/components/LoadingCard.tsx b/gui/src/components/LoadingCard.tsx index 7cc18987..db3120bf 100644 --- a/gui/src/components/LoadingCard.tsx +++ b/gui/src/components/LoadingCard.tsx @@ -53,7 +53,7 @@ export function LoadingCard(props: LoadingCardProps) { } function renderProgress() { - if (ready.status === 'success') { + if (getProgress() > 0) { return ; } else { return ;