From bed51b5871eaf9fb62c3373cb21304a0b630dac1 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 26 Apr 2020 11:19:40 -0700 Subject: [PATCH] Don't flash progress indicators when it is a failed request. --- resources/scripts/state/progress.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/scripts/state/progress.ts b/resources/scripts/state/progress.ts index e6d9251f1..98f7d1de2 100644 --- a/resources/scripts/state/progress.ts +++ b/resources/scripts/state/progress.ts @@ -22,7 +22,10 @@ const progress: ProgressStore = { }), setComplete: action(state => { - state.progress = 100; + if (state.progress) { + state.progress = 100; + } + state.continuous = false; }), };