webpack/scenes/ContentViews/Details/Versions/Compare/CVVersionCompareTable.js in katello-4.7.0.rc1 vs webpack/scenes/ContentViews/Details/Versions/Compare/CVVersionCompareTable.js in katello-4.7.0.rc2

- old
+ new

@@ -6,10 +6,11 @@ import { translate as __ } from 'foremanReact/common/I18n'; import { TableVariant, Tr, Th, Tbody, Td, Thead } from '@patternfly/react-table'; import { TableType } from './CVVersionCompareConfig'; import TableWrapper from '../../../../../components/Table/TableWrapper'; import { useTableSort } from '../../../../../components/Table/TableHooks'; +import './CVVersionCompare.scss'; const CVVersionCompareTable = ({ tableConfig: { name, responseSelector, @@ -57,10 +58,11 @@ emptySearchTitle={__(`Your search returned no matching ${name}.`)} emptySearchBody={__('Try changing your search criteria.')} emptyContentTitle={__(`No matching ${name} found.`)} emptyContentBody="" variant={TableVariant.compact} + className="cvv-compare-bordered-table-rows cvv-compare-bordered-table-header" > <Thead> <Tr ouiaId="column-headers"> {columnHeaders.map(({ title }) => ( @@ -76,11 +78,16 @@ <Tbody> {results?.map(result => ( <Tr key={`column-${result.id}`} ouiaId={`column-${result.id}`}> {columnHeaders.map(({ getProperty }, colIndex) => - // eslint-disable-next-line react/no-array-index-key - <Td key={`cell-${colIndex}`}>{getProperty(result)} </Td>)} + ( + <Td + // eslint-disable-next-line react/no-array-index-key + key={`cell-${colIndex}`} + > + {getProperty(result)} + </Td>))} </Tr> ))} </Tbody> </TableWrapper> );