Skip to content

Commit 9a0f92c

Browse files
committed
fix: WorkflowOptionsModal - add check for linkedCDSourceVariant
1 parent 8e4707e commit 9a0f92c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/Shared/Components/WorkflowOptionsModal

src/Shared/Components/WorkflowOptionsModal/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export const getReceiveWorkflowCardsConfig = ({
122122
)
123123
.filter(Boolean)
124124

125-
if (currentPipelineType !== CIPipelineNodeType.LINKED_CD) {
125+
if (linkedCDSourceVariant && currentPipelineType !== CIPipelineNodeType.LINKED_CD) {
126126
config.push(linkedCDSourceVariant)
127127
}
128128

0 commit comments

Comments
 (0)