debian-mirror-gitlab/app/assets/javascripts/members/store/state.js

28 lines
470 B
JavaScript
Raw Normal View History

2021-01-03 14:25:43 +05:30
export default ({
2020-11-24 15:15:51 +05:30
members,
sourceId,
currentUserId,
2021-02-22 17:27:13 +05:30
canManageMembers,
2021-01-03 14:25:43 +05:30
tableFields,
2021-01-29 00:20:46 +05:30
tableAttrs,
2021-02-22 17:27:13 +05:30
tableSortableFields,
2021-01-03 14:25:43 +05:30
memberPath,
requestFormatter,
2021-02-22 17:27:13 +05:30
filteredSearchBar,
2021-01-03 14:25:43 +05:30
}) => ({
members,
sourceId,
currentUserId,
2021-02-22 17:27:13 +05:30
canManageMembers,
2021-01-03 14:25:43 +05:30
tableFields,
2021-01-29 00:20:46 +05:30
tableAttrs,
2021-02-22 17:27:13 +05:30
tableSortableFields,
2021-01-03 14:25:43 +05:30
memberPath,
requestFormatter,
2021-02-22 17:27:13 +05:30
filteredSearchBar,
2021-01-03 14:25:43 +05:30
showError: false,
errorMessage: '',
removeGroupLinkModalVisible: false,
groupLinkToRemove: null,
2020-11-24 15:15:51 +05:30
});