Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: console error in ActionsMode when searching for action and pressing enter. #9292

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

smadixd
Copy link

@smadixd smadixd commented May 2, 2024

Summary

When entering the node search right tab and searching for example "Google Analytics" and then searching through Google Analytics Actions options and entering some gibberish text and then hitting "Enter" Key an error appears where says
Cannot read key of undefined.

This PR simply blocks the function from executing if no action is found the emit call will not get executed, I'm sure there might be couple places where we need to place this if check just to make sure. however I just found this for now.

Review / Merge checklist

  • PR title and summary are descriptive.

@CLAassistant
Copy link

CLAassistant commented May 2, 2024

CLA assistant check
All committers have signed the CLA.

@n8n-assistant n8n-assistant bot added community Authored by a community member ui Enhancement in /editor-ui or /design-system labels May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Authored by a community member ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants