Skip to content

Commit

Permalink
pipeline's bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aazaliyaa committed May 31, 2024
1 parent bb00db5 commit 75075a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/job/pipeline-picker/pipeline-picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const PipelinePicker: FC<AutomaticJobProps> = ({ lens, pipelineManagers = [] })
if (newVal === null) {
(await lens.prop('validationType').get()) === 'validation only' &&
lens.prop('validationType').set(newVal);
} else {
} else if (newVal) {
const chosenPipeline = pipelines?.find((pipeline) => pipeline.name === newVal.id);
if (chosenPipeline) {
setPipelinePickerValue(chosenPipeline);
Expand Down

0 comments on commit 75075a8

Please sign in to comment.