Skip to content

Commit c1b77d8

Browse files
Merge pull request #13344 from lokanandaprabhu/feature/OCPBUGS-23388
OCPBUGS-23388: Pipeline Name gets changed to "new-pipeline" on the Edit Pipeline YAML/Builder
2 parents e298657 + 49237a0 commit c1b77d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • frontend/packages/pipelines-plugin/src/components/pipelines/pipeline-builder

frontend/packages/pipelines-plugin/src/components/pipelines/pipeline-builder/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ export const convertBuilderFormToPipeline = (
348348
kind: PipelineModel.kind,
349349
metadata: {
350350
...existingPipeline?.metadata,
351-
name,
351+
name: existingPipeline?.metadata?.name ? existingPipeline?.metadata?.name : name,
352352
namespace,
353353
},
354354
spec: {

0 commit comments

Comments
 (0)