mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 01:08:48 -03:30
convert instance group list to tables
This commit is contained in:
committed by
Keith J. Grant
parent
c3bab52a61
commit
a481fc3cc9
@@ -8,9 +8,11 @@ import { InstanceGroupsAPI } from '../../../api';
|
|||||||
import { getQSConfig, parseQueryString } from '../../../util/qs';
|
import { getQSConfig, parseQueryString } from '../../../util/qs';
|
||||||
import useRequest, { useDeleteItems } from '../../../util/useRequest';
|
import useRequest, { useDeleteItems } from '../../../util/useRequest';
|
||||||
import useSelected from '../../../util/useSelected';
|
import useSelected from '../../../util/useSelected';
|
||||||
import PaginatedDataList, {
|
import PaginatedTable, {
|
||||||
ToolbarDeleteButton,
|
HeaderRow,
|
||||||
} from '../../../components/PaginatedDataList';
|
HeaderCell,
|
||||||
|
} from '../../../components/PaginatedTable';
|
||||||
|
import { ToolbarDeleteButton } from '../../../components/PaginatedDataList';
|
||||||
import ErrorDetail from '../../../components/ErrorDetail';
|
import ErrorDetail from '../../../components/ErrorDetail';
|
||||||
import AlertModal from '../../../components/AlertModal';
|
import AlertModal from '../../../components/AlertModal';
|
||||||
import DatalistToolbar from '../../../components/DataListToolbar';
|
import DatalistToolbar from '../../../components/DataListToolbar';
|
||||||
@@ -189,7 +191,7 @@ function InstanceGroupList({ i18n }) {
|
|||||||
<>
|
<>
|
||||||
<PageSection>
|
<PageSection>
|
||||||
<Card>
|
<Card>
|
||||||
<PaginatedDataList
|
<PaginatedTable
|
||||||
contentError={contentError}
|
contentError={contentError}
|
||||||
hasContentLoading={isLoading || deleteLoading}
|
hasContentLoading={isLoading || deleteLoading}
|
||||||
items={instanceGroups}
|
items={instanceGroups}
|
||||||
@@ -220,7 +222,18 @@ function InstanceGroupList({ i18n }) {
|
|||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
renderItem={instanceGroup => (
|
headerRow={
|
||||||
|
<HeaderRow qsConfig={QS_CONFIG}>
|
||||||
|
<HeaderCell sortKey="name">{i18n._(t`Name`)}</HeaderCell>
|
||||||
|
<HeaderCell>{i18n._(t`Type`)}</HeaderCell>
|
||||||
|
<HeaderCell>{i18n._(t`Running Jobs`)}</HeaderCell>
|
||||||
|
<HeaderCell>{i18n._(t`Total Jobs`)}</HeaderCell>
|
||||||
|
<HeaderCell>{i18n._(t`Instances`)}</HeaderCell>
|
||||||
|
<HeaderCell>{i18n._(t`Capacity`)}</HeaderCell>
|
||||||
|
<HeaderCell>{i18n._(t`Actions`)}</HeaderCell>
|
||||||
|
</HeaderRow>
|
||||||
|
}
|
||||||
|
renderRow={(instanceGroup, index) => (
|
||||||
<InstanceGroupListItem
|
<InstanceGroupListItem
|
||||||
key={instanceGroup.id}
|
key={instanceGroup.id}
|
||||||
value={instanceGroup.name}
|
value={instanceGroup.name}
|
||||||
@@ -228,6 +241,7 @@ function InstanceGroupList({ i18n }) {
|
|||||||
detailUrl={getDetailUrl(instanceGroup)}
|
detailUrl={getDetailUrl(instanceGroup)}
|
||||||
onSelect={() => handleSelect(instanceGroup)}
|
onSelect={() => handleSelect(instanceGroup)}
|
||||||
isSelected={selected.some(row => row.id === instanceGroup.id)}
|
isSelected={selected.some(row => row.id === instanceGroup.id)}
|
||||||
|
rowIndex={index}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
emptyStateControls={canAdd && addButton}
|
emptyStateControls={canAdd && addButton}
|
||||||
|
|||||||
@@ -71,13 +71,19 @@ describe('<InstanceGroupList />', () => {
|
|||||||
await waitForElement(wrapper, 'InstanceGroupList', el => el.length > 0);
|
await waitForElement(wrapper, 'InstanceGroupList', el => el.length > 0);
|
||||||
|
|
||||||
wrapper
|
wrapper
|
||||||
.find('input#select-instance-groups-1')
|
.find('.pf-c-table__check')
|
||||||
|
.first()
|
||||||
|
.find('input')
|
||||||
.simulate('change', instanceGroups);
|
.simulate('change', instanceGroups);
|
||||||
wrapper.update();
|
wrapper.update();
|
||||||
|
|
||||||
expect(wrapper.find('input#select-instance-groups-1').prop('checked')).toBe(
|
expect(
|
||||||
true
|
wrapper
|
||||||
);
|
.find('.pf-c-table__check')
|
||||||
|
.first()
|
||||||
|
.find('input')
|
||||||
|
.prop('checked')
|
||||||
|
).toBe(true);
|
||||||
|
|
||||||
await act(async () => {
|
await act(async () => {
|
||||||
wrapper.find('Button[aria-label="Delete"]').prop('onClick')();
|
wrapper.find('Button[aria-label="Delete"]').prop('onClick')();
|
||||||
@@ -102,16 +108,22 @@ describe('<InstanceGroupList />', () => {
|
|||||||
});
|
});
|
||||||
await waitForElement(wrapper, 'InstanceGroupList', el => el.length > 0);
|
await waitForElement(wrapper, 'InstanceGroupList', el => el.length > 0);
|
||||||
|
|
||||||
const instanceGroupIndex = [1, 2, 3];
|
const instanceGroupIndex = [0, 1, 2];
|
||||||
|
|
||||||
instanceGroupIndex.forEach(element => {
|
instanceGroupIndex.forEach(element => {
|
||||||
wrapper
|
wrapper
|
||||||
.find(`input#select-instance-groups-${element}`)
|
.find('.pf-c-table__check')
|
||||||
|
.at(element)
|
||||||
|
.find('input')
|
||||||
.simulate('change', instanceGroups);
|
.simulate('change', instanceGroups);
|
||||||
wrapper.update();
|
wrapper.update();
|
||||||
|
|
||||||
expect(
|
expect(
|
||||||
wrapper.find(`input#select-instance-groups-${element}`).prop('checked')
|
wrapper
|
||||||
|
.find('.pf-c-table__check')
|
||||||
|
.at(element)
|
||||||
|
.find('input')
|
||||||
|
.prop('checked')
|
||||||
).toBe(true);
|
).toBe(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -159,11 +171,19 @@ describe('<InstanceGroupList />', () => {
|
|||||||
});
|
});
|
||||||
waitForElement(wrapper, 'InstanceGroupList', el => el.length > 0);
|
waitForElement(wrapper, 'InstanceGroupList', el => el.length > 0);
|
||||||
|
|
||||||
wrapper.find('input#select-instance-groups-1').simulate('change', 'a');
|
wrapper
|
||||||
|
.find('.pf-c-table__check')
|
||||||
|
.first()
|
||||||
|
.find('input')
|
||||||
|
.simulate('change', 'a');
|
||||||
wrapper.update();
|
wrapper.update();
|
||||||
expect(wrapper.find('input#select-instance-groups-1').prop('checked')).toBe(
|
expect(
|
||||||
true
|
wrapper
|
||||||
);
|
.find('.pf-c-table__check')
|
||||||
|
.first()
|
||||||
|
.find('input')
|
||||||
|
.prop('checked')
|
||||||
|
).toBe(true);
|
||||||
|
|
||||||
await act(async () =>
|
await act(async () =>
|
||||||
wrapper.find('Button[aria-label="Delete"]').prop('onClick')()
|
wrapper.find('Button[aria-label="Delete"]').prop('onClick')()
|
||||||
|
|||||||
@@ -5,48 +5,18 @@ import { t } from '@lingui/macro';
|
|||||||
import { Link } from 'react-router-dom';
|
import { Link } from 'react-router-dom';
|
||||||
import 'styled-components/macro';
|
import 'styled-components/macro';
|
||||||
import {
|
import {
|
||||||
Badge as PFBadge,
|
|
||||||
Button,
|
Button,
|
||||||
DataListAction as _DataListAction,
|
|
||||||
DataListCheck,
|
|
||||||
DataListItem,
|
|
||||||
DataListItemCells,
|
|
||||||
DataListItemRow,
|
|
||||||
Label,
|
Label,
|
||||||
Progress,
|
Progress,
|
||||||
ProgressMeasureLocation,
|
ProgressMeasureLocation,
|
||||||
ProgressSize,
|
ProgressSize,
|
||||||
Tooltip,
|
|
||||||
} from '@patternfly/react-core';
|
} from '@patternfly/react-core';
|
||||||
|
import { Tr, Td } from '@patternfly/react-table';
|
||||||
import { PencilAltIcon } from '@patternfly/react-icons';
|
import { PencilAltIcon } from '@patternfly/react-icons';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
|
import { ActionsTd, ActionItem } from '../../../components/PaginatedTable';
|
||||||
import _DataListCell from '../../../components/DataListCell';
|
|
||||||
import { InstanceGroup } from '../../../types';
|
import { InstanceGroup } from '../../../types';
|
||||||
|
|
||||||
const DataListCell = styled(_DataListCell)`
|
|
||||||
white-space: nowrap;
|
|
||||||
`;
|
|
||||||
|
|
||||||
const Badge = styled(PFBadge)`
|
|
||||||
margin-left: 8px;
|
|
||||||
`;
|
|
||||||
|
|
||||||
const ListGroup = styled.span`
|
|
||||||
margin-left: 12px;
|
|
||||||
|
|
||||||
&:first-of-type {
|
|
||||||
margin-left: 0;
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|
||||||
const DataListAction = styled(_DataListAction)`
|
|
||||||
align-items: center;
|
|
||||||
display: grid;
|
|
||||||
grid-gap: 16px;
|
|
||||||
grid-template-columns: 40px;
|
|
||||||
`;
|
|
||||||
|
|
||||||
const Unavailable = styled.span`
|
const Unavailable = styled.span`
|
||||||
color: var(--pf-global--danger-color--200);
|
color: var(--pf-global--danger-color--200);
|
||||||
`;
|
`;
|
||||||
@@ -56,6 +26,7 @@ function InstanceGroupListItem({
|
|||||||
detailUrl,
|
detailUrl,
|
||||||
isSelected,
|
isSelected,
|
||||||
onSelect,
|
onSelect,
|
||||||
|
rowIndex,
|
||||||
i18n,
|
i18n,
|
||||||
}) {
|
}) {
|
||||||
const labelId = `check-action-${instanceGroup.id}`;
|
const labelId = `check-action-${instanceGroup.id}`;
|
||||||
@@ -104,98 +75,50 @@ function InstanceGroupListItem({
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<DataListItem
|
<Tr id={`ig-row-${instanceGroup.id}`}>
|
||||||
key={instanceGroup.id}
|
<Td
|
||||||
aria-labelledby={labelId}
|
select={{
|
||||||
id={`${instanceGroup.id} `}
|
rowIndex,
|
||||||
>
|
isSelected,
|
||||||
<DataListItemRow>
|
onSelect,
|
||||||
<DataListCheck
|
}}
|
||||||
id={`select-instance-groups-${instanceGroup.id}`}
|
dataLabel={i18n._(t`Selected`)}
|
||||||
checked={isSelected}
|
/>
|
||||||
onChange={onSelect}
|
<Td id={labelId} dataLabel={i18n._(t`Name`)}>
|
||||||
aria-labelledby={labelId}
|
<Link to={`${detailUrl}`}>
|
||||||
/>
|
<b>{instanceGroup.name}</b>
|
||||||
|
{verifyInstanceGroup(instanceGroup)}
|
||||||
<DataListItemCells
|
</Link>
|
||||||
dataListCells={[
|
</Td>
|
||||||
<DataListCell
|
<Td dataLabel={i18n._(t`Type`)}>
|
||||||
key="name"
|
{isContainerGroup(instanceGroup)
|
||||||
aria-label={i18n._(t`instance group name`)}
|
? i18n._(t`Container group`)
|
||||||
>
|
: i18n._(t`Instance group`)}
|
||||||
<span id={labelId}>
|
</Td>
|
||||||
<Link to={`${detailUrl}`}>
|
<Td dataLabel={i18n._(t`Running jobs`)}>{instanceGroup.jobs_running}</Td>
|
||||||
<b>{instanceGroup.name}</b>
|
<Td dataLabel={i18n._(t`Total jobs`)}>{instanceGroup.jobs_total}</Td>
|
||||||
</Link>
|
<Td dataLabel={i18n._(t`Instances`)}>{instanceGroup.instances}</Td>
|
||||||
</span>
|
<Td dataLabel={i18n._(t`Capacity`)}>{usedCapacity(instanceGroup)}</Td>
|
||||||
{verifyInstanceGroup(instanceGroup)}
|
<ActionsTd dataLabel={i18n._(t`Actions`)}>
|
||||||
</DataListCell>,
|
<ActionItem
|
||||||
|
visible={instanceGroup.summary_fields.user_capabilities.edit}
|
||||||
<DataListCell
|
tooltip={i18n._(t`Edit instance group`)}
|
||||||
key="type"
|
|
||||||
aria-label={i18n._(t`instance group type`)}
|
|
||||||
>
|
|
||||||
<b css="margin-right: 24px">{i18n._(t`Type`)}</b>
|
|
||||||
<span id={labelId}>
|
|
||||||
{isContainerGroup(instanceGroup)
|
|
||||||
? i18n._(t`Container group`)
|
|
||||||
: i18n._(t`Instance group`)}
|
|
||||||
</span>
|
|
||||||
</DataListCell>,
|
|
||||||
<DataListCell
|
|
||||||
key="related-field-counts"
|
|
||||||
aria-label={i18n._(t`instance counts`)}
|
|
||||||
width={2}
|
|
||||||
>
|
|
||||||
<ListGroup>
|
|
||||||
<b>{i18n._(t`Running jobs`)}</b>
|
|
||||||
<Badge isRead>{instanceGroup.jobs_running}</Badge>
|
|
||||||
</ListGroup>
|
|
||||||
<ListGroup>
|
|
||||||
<b>{i18n._(t`Total jobs`)}</b>
|
|
||||||
<Badge isRead>{instanceGroup.jobs_total}</Badge>
|
|
||||||
</ListGroup>
|
|
||||||
|
|
||||||
{!instanceGroup.is_containerized ? (
|
|
||||||
<ListGroup>
|
|
||||||
<b>{i18n._(t`Instances`)}</b>
|
|
||||||
<Badge isRead>{instanceGroup.instances}</Badge>
|
|
||||||
</ListGroup>
|
|
||||||
) : null}
|
|
||||||
</DataListCell>,
|
|
||||||
|
|
||||||
<DataListCell
|
|
||||||
key="capacity"
|
|
||||||
aria-label={i18n._(t`instance group used capacity`)}
|
|
||||||
>
|
|
||||||
{usedCapacity(instanceGroup)}
|
|
||||||
</DataListCell>,
|
|
||||||
]}
|
|
||||||
/>
|
|
||||||
<DataListAction
|
|
||||||
aria-label={i18n._(t`actions`)}
|
|
||||||
aria-labelledby={labelId}
|
|
||||||
id={labelId}
|
|
||||||
>
|
>
|
||||||
{instanceGroup.summary_fields.user_capabilities.edit && (
|
<Button
|
||||||
<Tooltip content={i18n._(t`Edit instance group`)} position="top">
|
aria-label={i18n._(t`Edit instance group`)}
|
||||||
<Button
|
variant="plain"
|
||||||
aria-label={i18n._(t`Edit instance group`)}
|
component={Link}
|
||||||
variant="plain"
|
to={
|
||||||
component={Link}
|
isContainerGroup(instanceGroup)
|
||||||
to={
|
? `/instance_groups/container_group/${instanceGroup.id}/edit`
|
||||||
isContainerGroup(instanceGroup)
|
: `/instance_groups/${instanceGroup.id}/edit`
|
||||||
? `/instance_groups/container_group/${instanceGroup.id}/edit`
|
}
|
||||||
: `/instance_groups/${instanceGroup.id}/edit`
|
>
|
||||||
}
|
<PencilAltIcon />
|
||||||
>
|
</Button>
|
||||||
<PencilAltIcon />
|
</ActionItem>
|
||||||
</Button>
|
</ActionsTd>
|
||||||
</Tooltip>
|
</Tr>
|
||||||
)}
|
|
||||||
</DataListAction>
|
|
||||||
</DataListItemRow>
|
|
||||||
</DataListItem>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
InstanceGroupListItem.prototype = {
|
InstanceGroupListItem.prototype = {
|
||||||
|
|||||||
@@ -47,12 +47,16 @@ describe('<InstanceGroupListItem/>', () => {
|
|||||||
test('should mount successfully', async () => {
|
test('should mount successfully', async () => {
|
||||||
await act(async () => {
|
await act(async () => {
|
||||||
wrapper = mountWithContexts(
|
wrapper = mountWithContexts(
|
||||||
<InstanceGroupListItem
|
<table>
|
||||||
instanceGroup={instanceGroups[1]}
|
<tbody>
|
||||||
detailUrl="instance_groups/1/details"
|
<InstanceGroupListItem
|
||||||
isSelected={false}
|
instanceGroup={instanceGroups[1]}
|
||||||
onSelect={() => {}}
|
detailUrl="instance_groups/1/details"
|
||||||
/>
|
isSelected={false}
|
||||||
|
onSelect={() => {}}
|
||||||
|
/>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
expect(wrapper.find('InstanceGroupListItem').length).toBe(1);
|
expect(wrapper.find('InstanceGroupListItem').length).toBe(1);
|
||||||
@@ -61,73 +65,81 @@ describe('<InstanceGroupListItem/>', () => {
|
|||||||
test('should render the proper data instance group', async () => {
|
test('should render the proper data instance group', async () => {
|
||||||
await act(async () => {
|
await act(async () => {
|
||||||
wrapper = mountWithContexts(
|
wrapper = mountWithContexts(
|
||||||
<InstanceGroupListItem
|
<table>
|
||||||
instanceGroup={instanceGroups[0]}
|
<tbody>
|
||||||
detailUrl="instance_groups/1/details"
|
<InstanceGroupListItem
|
||||||
isSelected={false}
|
instanceGroup={instanceGroups[0]}
|
||||||
onSelect={() => {}}
|
detailUrl="instance_groups/1/details"
|
||||||
/>
|
isSelected={false}
|
||||||
|
onSelect={() => {}}
|
||||||
|
/>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
expect(
|
expect(
|
||||||
wrapper.find('PFDataListCell[aria-label="instance group name"]').text()
|
wrapper
|
||||||
|
.find('Td')
|
||||||
|
.at(1)
|
||||||
|
.text()
|
||||||
).toBe('Foo');
|
).toBe('Foo');
|
||||||
expect(wrapper.find('Progress').prop('value')).toBe(40);
|
expect(wrapper.find('Progress').prop('value')).toBe(40);
|
||||||
expect(
|
expect(
|
||||||
wrapper.find('PFDataListCell[aria-label="instance group type"]').text()
|
wrapper
|
||||||
).toBe('TypeInstance group');
|
.find('Td')
|
||||||
|
.at(2)
|
||||||
|
.text()
|
||||||
|
).toBe('Instance group');
|
||||||
expect(wrapper.find('PencilAltIcon').length).toBe(1);
|
expect(wrapper.find('PencilAltIcon').length).toBe(1);
|
||||||
expect(wrapper.find('input#select-instance-groups-1').prop('checked')).toBe(
|
expect(wrapper.find('.pf-c-table__check input').prop('checked')).toBe(
|
||||||
false
|
undefined
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should render the proper data container group', async () => {
|
test('should render the proper data container group', async () => {
|
||||||
await act(async () => {
|
await act(async () => {
|
||||||
wrapper = mountWithContexts(
|
wrapper = mountWithContexts(
|
||||||
<InstanceGroupListItem
|
<table>
|
||||||
instanceGroup={instanceGroups[1]}
|
<tbody>
|
||||||
detailUrl="instance_groups/2/details"
|
<InstanceGroupListItem
|
||||||
isSelected={false}
|
instanceGroup={instanceGroups[1]}
|
||||||
onSelect={() => {}}
|
detailUrl="instance_groups/2/details"
|
||||||
/>
|
isSelected={false}
|
||||||
|
onSelect={() => {}}
|
||||||
|
/>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
expect(
|
expect(
|
||||||
wrapper.find('PFDataListCell[aria-label="instance group name"]').text()
|
wrapper
|
||||||
|
.find('Td')
|
||||||
|
.at(1)
|
||||||
|
.text()
|
||||||
).toBe('Bar');
|
).toBe('Bar');
|
||||||
|
|
||||||
expect(
|
expect(
|
||||||
wrapper.find('PFDataListCell[aria-label="instance group type"]').text()
|
wrapper
|
||||||
).toBe('TypeContainer group');
|
.find('Td')
|
||||||
|
.at(2)
|
||||||
|
.text()
|
||||||
|
).toBe('Container group');
|
||||||
expect(wrapper.find('PencilAltIcon').length).toBe(0);
|
expect(wrapper.find('PencilAltIcon').length).toBe(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should be checked', async () => {
|
|
||||||
await act(async () => {
|
|
||||||
wrapper = mountWithContexts(
|
|
||||||
<InstanceGroupListItem
|
|
||||||
instanceGroup={instanceGroups[0]}
|
|
||||||
detailUrl="instance_groups/1/details"
|
|
||||||
isSelected
|
|
||||||
onSelect={() => {}}
|
|
||||||
/>
|
|
||||||
);
|
|
||||||
});
|
|
||||||
expect(wrapper.find('input#select-instance-groups-1').prop('checked')).toBe(
|
|
||||||
true
|
|
||||||
);
|
|
||||||
});
|
|
||||||
|
|
||||||
test('edit button shown to users with edit capabilities', async () => {
|
test('edit button shown to users with edit capabilities', async () => {
|
||||||
await act(async () => {
|
await act(async () => {
|
||||||
wrapper = mountWithContexts(
|
wrapper = mountWithContexts(
|
||||||
<InstanceGroupListItem
|
<table>
|
||||||
instanceGroup={instanceGroups[0]}
|
<tbody>
|
||||||
detailUrl="instance_groups/1/details"
|
<InstanceGroupListItem
|
||||||
isSelected
|
instanceGroup={instanceGroups[0]}
|
||||||
onSelect={() => {}}
|
detailUrl="instance_groups/1/details"
|
||||||
/>
|
isSelected
|
||||||
|
onSelect={() => {}}
|
||||||
|
/>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -137,12 +149,16 @@ describe('<InstanceGroupListItem/>', () => {
|
|||||||
test('edit button hidden from users without edit capabilities', async () => {
|
test('edit button hidden from users without edit capabilities', async () => {
|
||||||
await act(async () => {
|
await act(async () => {
|
||||||
wrapper = mountWithContexts(
|
wrapper = mountWithContexts(
|
||||||
<InstanceGroupListItem
|
<table>
|
||||||
instanceGroup={instanceGroups[1]}
|
<tbody>
|
||||||
detailsUrl="instance_group/2/details"
|
<InstanceGroupListItem
|
||||||
isSelected
|
instanceGroup={instanceGroups[1]}
|
||||||
onSelect={() => {}}
|
detailsUrl="instance_group/2/details"
|
||||||
/>
|
isSelected
|
||||||
|
onSelect={() => {}}
|
||||||
|
/>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user