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
1 changed files with 4 additions and 1 deletions

View File

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