Don't flash progress indicators when it is a failed request.
This commit is contained in:
parent
d6bf2e0ce9
commit
bed51b5871
|
@ -22,7 +22,10 @@ const progress: ProgressStore = {
|
|||
}),
|
||||
|
||||
setComplete: action(state => {
|
||||
state.progress = 100;
|
||||
if (state.progress) {
|
||||
state.progress = 100;
|
||||
}
|
||||
|
||||
state.continuous = false;
|
||||
}),
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue