fix select boxes in JobList

This commit is contained in:
Keith Grant 2021-01-27 09:26:19 -08:00
parent 7bf7cebd72
commit 0feeaf0453
2 changed files with 3 additions and 2 deletions

View File

@ -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}
/>
)}
/>

View File

@ -51,8 +51,8 @@ function JobListItem({
rowIndex,
isSelected,
onSelect,
disable: false,
}}
dataLabel={i18n._(t`Select`)}
/>
<Td id={labelId} dataLabel={i18n._(t`Name`)}>
<span>