debian-mirror-gitlab/app/assets/javascripts/vuex_shared/modules/members/utils.js
2021-01-03 14:25:43 +05:30

1 line
101 B
JavaScript

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