Commit d38364d1 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Apply 1 suggestion(s) to 1 file(s)

parent 3b0c0bcf
...@@ -127,6 +127,8 @@ export default { ...@@ -127,6 +127,8 @@ export default {
user.username.toLowerCase().includes(this.search.toLowerCase()), user.username.toLowerCase().includes(this.search.toLowerCase()),
); );
const mergedSearchResults = searchResults.reduce((acc, current) => { const mergedSearchResults = searchResults.reduce((acc, current) => {
// Some users are duplicated in the query result:
// https://gitlab.com/gitlab-org/gitlab/-/issues/327822
if (!acc.some((user) => current.username === user.username)) { if (!acc.some((user) => current.username === user.username)) {
acc.push(current); acc.push(current);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment