Commit 6c27e9c5 authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Disable showing user availability in autocomplete

Return nil for availability for now due to
https://gitlab.com/gitlab-org/gitlab/-/issues/28544
parent a50c7f1d
......@@ -42,7 +42,7 @@ export function membersBeforeSave(members) {
title: sanitize(title),
search: sanitize(`${member.username} ${member.name}`),
icon: avatarIcon,
availability: member.availability,
availability: member?.availability,
};
});
}
......
......@@ -46,8 +46,9 @@ module Users
username: user.username,
name: user.name,
avatar_url: user.avatar_url,
availability: user&.status&.availability
availability: nil
}
# Return nil for availability for now due to https://gitlab.com/gitlab-org/gitlab/-/issues/285442
end
def group_as_hash(group, group_counts)
......
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