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 error when searching #2960

Merged
merged 1 commit into from
Dec 14, 2022

Conversation

ChunkyProgrammer
Copy link
Member

Fix error when searching

Pull Request Type

  • Bugfix

Description

Error introduced in #2943
If you click enter without selecting an option in the list then an error will occur

Testing

Write something in search bar, click enter without hovering over any of the options

Desktop

  • OS: Windws
  • OS Version: 11
  • FreeTube version: 0.18.0

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) December 13, 2022 23:01
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Dec 13, 2022
@FreeTubeBot FreeTubeBot merged commit 083ae0e into FreeTubeApp:development Dec 14, 2022
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Dec 14, 2022
@absidue
Copy link
Member

absidue commented Dec 14, 2022

Even with this PR, if there are no search suggestions, searching by pressing enter doesn't work, it does work if you click the search button. If you enter a URL e.g. https://youtube.com/c/linustechtips you won't get any search suggestions and then it doesn't work with enter.

@PikachuEXE
Copy link
Collaborator

searching by pressing enter does work for me BUT only when search suggestion appears
enter with URL does not (coz no suggestion)

@PikachuEXE
Copy link
Collaborator

Opened #2966

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.

5 participants