debian-mirror-gitlab/app/assets/javascripts/members/store/utils.js

3 lines
105 B
JavaScript
Raw Normal View History

2021-03-08 18:12:59 +05:30
export const findMember = (state, memberId) =>
state.members.find((member) => member.id === memberId);