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

2 lines
101 B
JavaScript
Raw Normal View History

2021-01-03 14:25:43 +05:30
export const findMember = (state, memberId) => state.members.find(member => member.id === memberId);