From 8836fe043b44b356bd6b039c0d37609ae3dc5968 Mon Sep 17 00:00:00 2001 From: Cesar N <11819101+cesnietor@users.noreply.github.com> Date: Tue, 23 Jan 2024 08:55:41 -0800 Subject: [PATCH] Return proper progress on download error (#3211) --- .../Console/Common/ProgressBarWrapper/ProgressBarWrapper.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-app/src/screens/Console/Common/ProgressBarWrapper/ProgressBarWrapper.tsx b/web-app/src/screens/Console/Common/ProgressBarWrapper/ProgressBarWrapper.tsx index 879a9f4d2..c6c3c539e 100644 --- a/web-app/src/screens/Console/Common/ProgressBarWrapper/ProgressBarWrapper.tsx +++ b/web-app/src/screens/Console/Common/ProgressBarWrapper/ProgressBarWrapper.tsx @@ -73,7 +73,7 @@ const ProgressBarWrapper = ({ const propsComponent: ProgressBarProps = { variant: indeterminate && !ready && !cancelled ? "indeterminate" : "determinate", - value: ready ? 100 : value, + value: ready && !error ? 100 : value, color: color, notificationLabel: notificationLabel || "", };