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
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ export default {
state.isLoading = false;
state.job = job;
state.stages = job.pipeline.details.stages || [];
state.stages = ((job.pipeline || {}).details || {}).stages || [];
/**
* We only update it on the first request