Commit 4ae71c2b authored by Grzegorz Bizon's avatar Grzegorz Bizon Committed by Filipa Lacerda

No to rasie an error when stages are not provided

parent 087680d7
...@@ -65,7 +65,7 @@ export default { ...@@ -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
......
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