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