mirror of
https://github.com/ansible/awx.git
synced 2026-03-20 02:17:37 -02:30
fix select boxes in JobList
This commit is contained in:
@@ -268,13 +268,14 @@ function JobList({ i18n, defaultParams, showTypeColumn = false }) {
|
|||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
renderRow={job => (
|
renderRow={(job, index) => (
|
||||||
<JobListItem
|
<JobListItem
|
||||||
key={job.id}
|
key={job.id}
|
||||||
job={job}
|
job={job}
|
||||||
showTypeColumn={showTypeColumn}
|
showTypeColumn={showTypeColumn}
|
||||||
onSelect={() => handleSelect(job)}
|
onSelect={() => handleSelect(job)}
|
||||||
isSelected={selected.some(row => row.id === job.id)}
|
isSelected={selected.some(row => row.id === job.id)}
|
||||||
|
rowIndex={index}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -51,8 +51,8 @@ function JobListItem({
|
|||||||
rowIndex,
|
rowIndex,
|
||||||
isSelected,
|
isSelected,
|
||||||
onSelect,
|
onSelect,
|
||||||
disable: false,
|
|
||||||
}}
|
}}
|
||||||
|
dataLabel={i18n._(t`Select`)}
|
||||||
/>
|
/>
|
||||||
<Td id={labelId} dataLabel={i18n._(t`Name`)}>
|
<Td id={labelId} dataLabel={i18n._(t`Name`)}>
|
||||||
<span>
|
<span>
|
||||||
|
|||||||
Reference in New Issue
Block a user