Skip to content

Commit

Permalink
fix(1390): Pipe contextual menu broken buttons removed
Browse files Browse the repository at this point in the history
  • Loading branch information
tplevko committed Sep 5, 2024
1 parent e6c5ed7 commit b6781c5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,13 @@ export class PipeVisualEntity implements BaseVisualCamelEntity {
getNodeInteraction(data: IVisualizationNodeData): NodeInteraction {
return {
/** Pipe cannot have a Kamelet before the source property */
canHavePreviousStep: data.path !== 'source',
canHavePreviousStep: !data.isGroup && data.path !== 'source',
/** Pipe cannot have a Kamelet after the sink property */
canHaveNextStep: data.path !== 'sink',
canHaveNextStep: !data.isGroup && data.path !== 'sink',
canHaveChildren: false,
canHaveSpecialChildren: false,
canReplaceStep: true,
canRemoveStep: true,
canReplaceStep: !data.isGroup,
canRemoveStep: !data.isGroup,
canRemoveFlow: data.path === ROOT_PATH,
canBeDisabled: false,
};
Expand Down

0 comments on commit b6781c5

Please sign in to comment.