gitlab-org--gitlab-foss/app/assets/javascripts/members/store/state.js

25 lines
464 B
JavaScript

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