debian-mirror-gitlab/app/assets/javascripts/members/store/utils.js
2021-03-08 18:12:59 +05:30

2 lines
105 B
JavaScript

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