groups-select component has render list with expire data
Summary
The group-selector in project_members page Invite group
popover has render two time and show the expire data if the expire request slow.
And it will happen if the group data too big, all_group data will load slow then search.
Steps to reproduce
- add breakpoint for
/api/v4/groups.json
by http proxy tools likecharles
- enter any project
manage
member
page - click
Invite a group
- enter something in search input
- pass the search request before the full_list request
What is the current bug behavior?
Show all list after show search result, when open model and enter something into search input.
What is the expected correct behavior?
Show the search result not full list
Possible fixes
Add a index for request, if result is not new, don't push it
Edited by fenyu