Commit 68850f67 authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Minor review comments

parent 1c6076a0
......@@ -91,10 +91,11 @@ export default {
.then((response) => {
this.store.setCycleAnalyticsData(response);
this.selectDefaultStage();
this.isLoading = false;
})
.catch(() => {
this.handleError();
})
.finally(() => {
this.isLoading = false;
});
},
......@@ -124,10 +125,11 @@ export default {
.then((response) => {
this.isEmptyStage = !response.events.length;
this.store.setStageEvents(response.events, stage);
this.isLoadingStage = false;
})
.catch(() => {
this.isEmptyStage = true;
})
.finally(() => {
this.isLoadingStage = false;
});
},
......
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