Skip to content

Commit

Permalink
Fix reload bar not disappearing on console settings page. (#1178)
Browse files Browse the repository at this point in the history
* bug_fix_reload

* removing duplicate line

Co-authored-by: Adam Stafford <adamstafford@Adams-MacBook-Pro.local>
Co-authored-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
  • Loading branch information
3 people committed Nov 2, 2021
1 parent dc35bb2 commit e1a3164
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions portal-ui/src/screens/Console/Console.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ const Console = ({
serverNeedsRestart(false);
})
.catch((err: ErrorResponseHandler) => {
if (err.errorMessage === "Error 502") {
serverNeedsRestart(false);
}
serverIsLoading(false);
console.log("failure restarting service");
console.log(err);
Expand Down

0 comments on commit e1a3164

Please sign in to comment.