From 1aa3e0fb63d876bdafaa9483756493e8bb122fda Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Fri, 17 Apr 2020 10:26:36 -0700 Subject: [PATCH] Set bar completed when a request fails --- resources/scripts/api/http.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/scripts/api/http.ts b/resources/scripts/api/http.ts index c02714968..3a6821546 100644 --- a/resources/scripts/api/http.ts +++ b/resources/scripts/api/http.ts @@ -25,6 +25,8 @@ http.interceptors.response.use(resp => { } return resp; +}, () => { + store.getActions().progress.setComplete(); }); // If we have a phpdebugbar instance registered at this point in time go