Commit 0de6f7da authored by Filipa Lacerda's avatar Filipa Lacerda

Improve state handling

parent 56999085
......@@ -115,14 +115,8 @@ module.exports = Vue.component('deploy_boards_components', {
this.isLoading = true;
backOff((next, stop) => {
this.isLoading = true;
this.hasError = false;
this.service.getDeployBoard(this.environmentID)
.then((resp) => {
this.isLoading = true;
this.hasError = false;
if (resp.status === 204) {
this.backOffRequestCounter = this.backOffRequestCounter += 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment