Don't flash progress indicators when it is a failed request.

This commit is contained in:
Dane Everitt 2020-04-26 11:19:40 -07:00
parent d6bf2e0ce9
commit bed51b5871
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -22,7 +22,10 @@ const progress: ProgressStore = {
}), }),
setComplete: action(state => { setComplete: action(state => {
state.progress = 100; if (state.progress) {
state.progress = 100;
}
state.continuous = false; state.continuous = false;
}), }),
}; };