Return proper progress on download error (#3211)
This commit is contained in:
@@ -73,7 +73,7 @@ const ProgressBarWrapper = ({
|
|||||||
const propsComponent: ProgressBarProps = {
|
const propsComponent: ProgressBarProps = {
|
||||||
variant:
|
variant:
|
||||||
indeterminate && !ready && !cancelled ? "indeterminate" : "determinate",
|
indeterminate && !ready && !cancelled ? "indeterminate" : "determinate",
|
||||||
value: ready ? 100 : value,
|
value: ready && !error ? 100 : value,
|
||||||
color: color,
|
color: color,
|
||||||
notificationLabel: notificationLabel || "",
|
notificationLabel: notificationLabel || "",
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user