Transfer group dropdown disappears if API response is blank
Summary
The transfer group dropdown disappears if you have two API requests that return blank results
Steps to reproduce
- Navigate to a group ->
Settings
->General
->Advanced
- Open up the dropdown and type
zzzzz
. - Change the search to
zzzz
What is the current bug behavior?
Dropdown disappears
What is the expected correct behavior?
Should display a no results found message
Relevant logs and/or screenshots
Screen_Recording_2022-12-14_at_10.39.18_AM
Possible fixes
Add a no results found message in https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/assets/javascripts/groups_projects/components/transfer_locations.vue#L230 if API request is empty