No to rasie an error when stages are not provided

This commit is contained in:
Grzegorz Bizon 2019-05-21 12:21:51 +02:00 committed by Filipa Lacerda
parent 087680d780
commit 4ae71c2b4f

View file

@ -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