Skip to content

Commit

Permalink
fix(1586): Consumer only endpoints missing in canvas selection
Browse files Browse the repository at this point in the history
  • Loading branch information
tplevko committed Oct 21, 2024
1 parent 5a09d8b commit 6f3d6d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class CamelComponentFilterService {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
definition?: any,
): TileFilter {
if (mode === AddStepMode.ReplaceStep && visualEntityData.path === 'from') {
if (mode === AddStepMode.ReplaceStep && (visualEntityData.path === 'route.from' || 'template.from')) {
/**
* For the `from` step we want to show only components which are not `producerOnly`,
* as this mean that they can be used only as a producer.
Expand Down

0 comments on commit 6f3d6d3

Please sign in to comment.