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: search_controller null error #3515

Merged
merged 1 commit into from
Dec 11, 2024
Merged

fix: search_controller null error #3515

merged 1 commit into from
Dec 11, 2024

Conversation

Paul-Bob
Copy link
Contributor

@Paul-Bob Paul-Bob commented Dec 11, 2024

Description

Fixes the JS search controller.

.aa-DetachedOverlay is already getting removed when a value is selected from the search list, there is no need to remove it with code.

Fixes:

search_controller.js:223 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'remove')
    at n.handleOnSelect (search_controller.js:223:51)

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works

@github-actions github-actions bot added the Fix label Dec 11, 2024
Copy link

codeclimate bot commented Dec 11, 2024

Code Climate has analyzed commit 21ac470 and detected 0 issues on this pull request.

View more on Code Climate.

@thiagovsk
Copy link

👏

@Paul-Bob Paul-Bob self-assigned this Dec 11, 2024
@Paul-Bob Paul-Bob changed the title fix: search_controller fix: search_controller null error Dec 11, 2024
@priscilaformaggio
Copy link

👏

@Paul-Bob Paul-Bob merged commit bb18bcf into main Dec 11, 2024
21 checks passed
@Paul-Bob Paul-Bob deleted the fix/search_controller branch December 11, 2024 20:17
Copy link
Contributor

This PR has been merged into main. The functionality will be available in the next release.

Please check the release guide for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants