Label filter selects the wrong label when hitting enter
Description
Label filter selects the wrong label when hitting enter
Steps to reproduce
- Open an issue on https://gitlab.com/gitlab-org/gitlab-ce/issues
- On the sidebar look open the label filter to search for api
- The api label is the first one -> Press enter
Observed behavior
- Accepting Merge Requests label gets ticked
Expected behavior
- api label gets selected