Skip to content

5404/Editor/Bug: Junction error in Quick Add dialog#5407

Merged
knolleary merged 1 commit intonode-red:masterfrom
piotrbogun:5404/Editor/quick-add-dialog-junction-error
Jan 5, 2026
Merged

5404/Editor/Bug: Junction error in Quick Add dialog#5407
knolleary merged 1 commit intonode-red:masterfrom
piotrbogun:5404/Editor/quick-add-dialog-junction-error

Conversation

@piotrbogun
Copy link
Copy Markdown
Contributor

@piotrbogun piotrbogun commented Jan 2, 2026

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

Resolves #5404

In the setSuggestedFlow method for the quick add menu, there is a missing check for the junction node type which causes the console error as well as prevents the preview item from appearing in the editor when this menu option is hovered.

This view file contains similar checks for the junction node type so I followed the current pattern for this fix.

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the forum/slack team.
  • I have run npm run test to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality

@knolleary knolleary merged commit 4028ecd into node-red:master Jan 5, 2026
5 checks passed
@kazuhitoyokoi
Copy link
Copy Markdown
Member

@piotrbogun Thank you for fixing the issue. 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Junction error in Quick Add dialog

3 participants