Return proper progress on download error (#3211)

This commit is contained in:
Cesar N
2024-01-23 08:55:41 -08:00
committed by GitHub
parent 7ce6a58099
commit 8836fe043b

View File

@@ -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 || "",
};