No to rasie an error when stages are not provided
This commit is contained in:
parent
087680d780
commit
4ae71c2b4f
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ export default {
|
||||||
state.isLoading = false;
|
state.isLoading = false;
|
||||||
state.job = job;
|
state.job = job;
|
||||||
|
|
||||||
state.stages = job.pipeline.details.stages || [];
|
state.stages = ((job.pipeline || {}).details || {}).stages || [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* We only update it on the first request
|
* We only update it on the first request
|
||||||
|
|
Loading…
Reference in a new issue