debian-mirror-gitlab/app/assets/javascripts/members/store/utils.js
2021-02-22 17:27:13 +05:30

1 line
101 B
JavaScript

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