gitlab-org--gitlab-foss/app/assets/javascripts/members/store/utils.js

2 lines
105 B
JavaScript

export const findMember = (state, memberId) =>
state.members.find((member) => member.id === memberId);