Skip to content

Commit

Permalink
fix(concourse): Fix concourse trigger config (#6715) (#6720)
Browse files Browse the repository at this point in the history
  • Loading branch information
spinnakerbot authored and jkschneider committed Mar 19, 2019
1 parent c4678fa commit 37e1964
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 37e1964

Please sign in to comment.