mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 04:10:44 -03:30
update directory structure of schedule list files
This commit is contained in:
parent
e096ad18cb
commit
e706e0a2e2
@ -12,7 +12,7 @@ import PaginatedDataList, {
|
||||
} from '@components/PaginatedDataList';
|
||||
import useRequest, { useDeleteItems } from '@util/useRequest';
|
||||
import { getQSConfig, parseQueryString } from '@util/qs';
|
||||
import { ScheduleListItem } from '.';
|
||||
import ScheduleListItem from './ScheduleListItem';
|
||||
|
||||
const QS_CONFIG = getQSConfig('schedule', {
|
||||
page: 1,
|
||||
@ -3,7 +3,7 @@ import { act } from 'react-dom/test-utils';
|
||||
import { mountWithContexts } from '@testUtils/enzymeHelpers';
|
||||
import { SchedulesAPI } from '@api';
|
||||
import ScheduleList from './ScheduleList';
|
||||
import mockSchedules from '../data.schedules.json';
|
||||
import mockSchedules from './data.schedules.json';
|
||||
|
||||
jest.mock('@api/models/Schedules');
|
||||
|
||||
@ -18,7 +18,7 @@ import { DetailList, Detail } from '@components/DetailList';
|
||||
import styled from 'styled-components';
|
||||
import { Schedule } from '@types';
|
||||
import { formatDateString } from '@util/dates';
|
||||
import ScheduleToggle from '../shared/ScheduleToggle';
|
||||
import ScheduleToggle from './ScheduleToggle';
|
||||
|
||||
const DataListAction = styled(_DataListAction)`
|
||||
align-items: center;
|
||||
1
awx/ui_next/src/components/ScheduleList/index.js
Normal file
1
awx/ui_next/src/components/ScheduleList/index.js
Normal file
@ -0,0 +1 @@
|
||||
export { default } from './ScheduleList';
|
||||
@ -1,2 +0,0 @@
|
||||
export { default as ScheduleList } from './ScheduleList';
|
||||
export { default as ScheduleListItem } from './ScheduleListItem';
|
||||
@ -4,7 +4,7 @@ import { withI18n } from '@lingui/react';
|
||||
import { t } from '@lingui/macro';
|
||||
|
||||
import Breadcrumbs from '@components/Breadcrumbs';
|
||||
import { ScheduleList } from './ScheduleList';
|
||||
import ScheduleList from '@components/ScheduleList';
|
||||
|
||||
function Schedules({ i18n }) {
|
||||
return (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user