debian-mirror-gitlab/app/assets/javascripts/vuex_shared/modules/members/utils.js
2021-01-30 21:13:32 +05:30

1 line
101 B
JavaScript

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