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

27 lines
470 B
JavaScript

export default ({
members,
sourceId,
currentUserId,
canManageMembers,
tableFields,
tableAttrs,
tableSortableFields,
memberPath,
requestFormatter,
filteredSearchBar,
}) => ({
members,
sourceId,
currentUserId,
canManageMembers,
tableFields,
tableAttrs,
tableSortableFields,
memberPath,
requestFormatter,
filteredSearchBar,
showError: false,
errorMessage: '',
removeGroupLinkModalVisible: false,
groupLinkToRemove: null,
});