mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Use system job type as identifier
This commit is contained in:
parent
5d51a4e781
commit
d337948bd6
@ -109,6 +109,7 @@ function ManagementJobList({ i18n }) {
|
||||
key={id}
|
||||
id={id}
|
||||
name={name}
|
||||
jobType={job_type}
|
||||
description={description}
|
||||
isSuperUser={me?.is_superuser}
|
||||
isPrompted={['cleanup_activitystream', 'cleanup_jobs'].includes(
|
||||
|
||||
@ -18,6 +18,7 @@ function ManagementJobListItem({
|
||||
isPrompted,
|
||||
isSuperUser,
|
||||
id,
|
||||
jobType,
|
||||
name,
|
||||
description,
|
||||
}) {
|
||||
@ -62,7 +63,7 @@ function ManagementJobListItem({
|
||||
|
||||
return (
|
||||
<>
|
||||
<Tr id={`mgmt-jobs-row-${id}`}>
|
||||
<Tr id={`mgmt-jobs-row-${jobType ? jobType.replace('_', '-') : ''}`}>
|
||||
<Td />
|
||||
<Td dataLabel={i18n._(t`Name`)}>
|
||||
<Link to={`${detailsUrl}`}>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user