Skip to content

Commit

Permalink
fix(concourse): Fix concourse trigger config (#6715)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkschneider authored Mar 19, 2019
1 parent 5b03078 commit 40c5e09
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export class ConcourseTriggerConfig extends React.Component<

private onPipelineChanged = (option: Option<string>) => {
const trigger = this.props.trigger;
if (trigger.project.split('/').pop() === option.value) {
if (trigger.project && trigger.project.split('/').pop() === option.value) {
return;
}
delete trigger.job;
Expand Down

0 comments on commit 40c5e09

Please sign in to comment.