We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fec79c commit a0da7e3Copy full SHA for a0da7e3
frontend/web/components/release-pipelines/CreateReleasePipeline.tsx
@@ -359,7 +359,7 @@ function CreateReleasePipeline() {
359
handleOnChange(stageData, index)
360
}
361
projectId={Number(projectId)}
362
- showRemoveButton={index > 0}
+ showRemoveButton={pipelineData.stages.length > 1}
363
onRemove={() => handleRemoveStage(index)}
364
/>
365
<div className='flex-1'>
0 commit comments