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