Fix loading authors in issues list
What does this MR do and why?
This MR filters out null users so that when the backend passes us null users we don't pass them to components that expect a valid user to be present.
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
- Go to Board issues list
- Add
res.push(null)
to this line in your code https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/assets/javascripts/vue_shared/components/filtered_search_bar/tokens/author_token.vue#L62
This replicates having the backend return null values.
- Open the authors token and make sure that the list renders.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Scott Stern