mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
add default ouia-id to paginated tables
This commit is contained in:
@@ -96,7 +96,10 @@ function PaginatedTable({
|
|||||||
Content = (
|
Content = (
|
||||||
<div css="overflow: auto">
|
<div css="overflow: auto">
|
||||||
{hasContentLoading && <LoadingSpinner />}
|
{hasContentLoading && <LoadingSpinner />}
|
||||||
<TableComposable aria-label={dataListLabel} ouiaId={ouiaId}>
|
<TableComposable
|
||||||
|
aria-label={dataListLabel}
|
||||||
|
ouiaId={ouiaId || `paginated-table-${pluralizedItemName}`}
|
||||||
|
>
|
||||||
{headerRow}
|
{headerRow}
|
||||||
<Tbody>{items.map(renderRow)}</Tbody>
|
<Tbody>{items.map(renderRow)}</Tbody>
|
||||||
</TableComposable>
|
</TableComposable>
|
||||||
|
|||||||
Reference in New Issue
Block a user