add missing titles/labels, remove duplicate IDs

This commit is contained in:
Keith J. Grant
2021-04-13 12:09:40 -07:00
parent 77cc3306a5
commit 1dc3b80c68
4 changed files with 7 additions and 8 deletions

View File

@@ -123,6 +123,9 @@ function PaginatedTable({
}
onSetPage={handleSetPage}
onPerPageSelect={handleSetPageSize}
titles={{
paginationTitle: t`Top Pagination`,
}}
/>
);

View File

@@ -248,7 +248,7 @@ function LineChart({ id, data, height, i18n, pageContext }) {
.style('fill', () => colors(0))
.attr('cx', d => x(d.DATE))
.attr('cy', d => y(d.FAIL))
.attr('id', d => `success-dot-${dateFormat(d.DATE)}`)
.attr('id', d => `fail-dot-${dateFormat(d.DATE)}`)
.on('mouseover', handleMouseOver)
.on('mousemove', handleMouseMove)
.on('mouseout', handleMouseOut);

View File

@@ -43,8 +43,6 @@ function ExecutionEnvironmentListItem({
setIsDisabled(false);
}, []);
const labelId = `check-action-${executionEnvironment.id}`;
return (
<Tr id={`ee-row-${executionEnvironment.id}`}>
<Td
@@ -56,15 +54,13 @@ function ExecutionEnvironmentListItem({
}}
dataLabel={i18n._(t`Selected`)}
/>
<Td id={labelId} dataLabel={i18n._(t`Name`)}>
<Td id={`ee-name-${executionEnvironment.id}`} dataLabel={i18n._(t`Name`)}>
<Link to={`${detailUrl}`}>
<b>{executionEnvironment.name}</b>
</Link>
</Td>
<Td id={labelId} dataLabel={i18n._(t`Image`)}>
{executionEnvironment.image}
</Td>
<Td id={labelId} dataLabel={i18n._(t`Organization`)}>
<Td dataLabel={i18n._(t`Image`)}>{executionEnvironment.image}</Td>
<Td dataLabel={i18n._(t`Organization`)}>
{executionEnvironment.organization ? (
<Link
to={`/organizations/${executionEnvironment?.summary_fields?.organization?.id}/details`}