webpack/components/AnsibleRolesSwitcher/index.js in foreman_ansible-6.2.0 vs webpack/components/AnsibleRolesSwitcher/index.js in foreman_ansible-6.3.0

- old
+ new

@@ -5,31 +5,27 @@ import * as AnsibleRolesSwitcherActions from './AnsibleRolesSwitcherActions'; import AnsiblePermissionDenied from './components/AnsiblePermissionDenied'; import withProtectedView from './components/withProtectedView'; import { selectUnassignedRoles, - selectAssignedRolesPage, selectAssignedRoles, - selectAssignedRolesCount, selectResults, selectPaginationMemoized, selectItemCount, selectLoading, - selectAssignedPagination, selectError, + selectToDestroyRoles, } from './AnsibleRolesSwitcherSelectors'; const mapStateToProps = state => ({ results: selectResults(state), pagination: selectPaginationMemoized(state), itemCount: selectItemCount(state), loading: selectLoading(state), error: selectError(state), - assignedPagination: selectAssignedPagination(state), - assignedRolesCount: selectAssignedRolesCount(state), - assignedRoles: selectAssignedRolesPage(state), - allAssignedRoles: selectAssignedRoles(state), + assignedRoles: selectAssignedRoles(state), unassignedRoles: selectUnassignedRoles(state), + toDestroyRoles: selectToDestroyRoles(state), }); const mapDispatchToProps = dispatch => bindActionCreators(AnsibleRolesSwitcherActions, dispatch);