Skip to content

Commit 1aa3e0f

Browse files
committed
Set bar completed when a request fails
1 parent 81f7734 commit 1aa3e0f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

resources/scripts/api/http.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ http.interceptors.response.use(resp => {
2525
}
2626

2727
return resp;
28+
}, () => {
29+
store.getActions().progress.setComplete();
2830
});
2931

3032
// If we have a phpdebugbar instance registered at this point in time go

0 commit comments

Comments
 (0)