mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 07:56:06 -03:30
Move useSelect to shared util directory
This commit is contained in:
@@ -6,7 +6,7 @@ import { Button, Modal } from '@patternfly/react-core';
|
|||||||
import OptionsList from '@components/Lookup/shared/OptionsList';
|
import OptionsList from '@components/Lookup/shared/OptionsList';
|
||||||
import useRequest from '@util/useRequest';
|
import useRequest from '@util/useRequest';
|
||||||
import { getQSConfig, parseQueryString } from '@util/qs';
|
import { getQSConfig, parseQueryString } from '@util/qs';
|
||||||
import useSelect from '../shared/useSelect';
|
import useSelect from '@util/useSelect';
|
||||||
|
|
||||||
const QS_CONFIG = getQSConfig('associate', {
|
const QS_CONFIG = getQSConfig('associate', {
|
||||||
page: 1,
|
page: 1,
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import useRequest, {
|
|||||||
useDeleteItems,
|
useDeleteItems,
|
||||||
useDismissableError,
|
useDismissableError,
|
||||||
} from '@util/useRequest';
|
} from '@util/useRequest';
|
||||||
|
import useSelect from '@util/useSelect';
|
||||||
import AlertModal from '@components/AlertModal';
|
import AlertModal from '@components/AlertModal';
|
||||||
import DataListToolbar from '@components/DataListToolbar';
|
import DataListToolbar from '@components/DataListToolbar';
|
||||||
import ErrorDetail from '@components/ErrorDetail';
|
import ErrorDetail from '@components/ErrorDetail';
|
||||||
@@ -17,7 +18,6 @@ import InventoryGroupHostListItem from './InventoryGroupHostListItem';
|
|||||||
import AssociateModal from './AssociateModal';
|
import AssociateModal from './AssociateModal';
|
||||||
import AddHostDropdown from './AddHostDropdown';
|
import AddHostDropdown from './AddHostDropdown';
|
||||||
import DisassociateButton from './DisassociateButton';
|
import DisassociateButton from './DisassociateButton';
|
||||||
import useSelect from '../shared/useSelect';
|
|
||||||
|
|
||||||
const QS_CONFIG = getQSConfig('host', {
|
const QS_CONFIG = getQSConfig('host', {
|
||||||
page: 1,
|
page: 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user