mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -03:30
add forks to the job details
This commit is contained in:
parent
451767c179
commit
8ed0543b8b
@ -361,6 +361,9 @@ function JobDetail({ job, inventorySourceLabels }) {
|
||||
value={t`True`}
|
||||
/>
|
||||
)}
|
||||
{typeof job.forks === 'number' && (
|
||||
<Detail dataCy="forks" label={t`Forks`} value={`${job.forks}`} />
|
||||
)}
|
||||
|
||||
{credential && (
|
||||
<Detail
|
||||
|
||||
@ -73,6 +73,7 @@ describe('<JobDetail />', () => {
|
||||
);
|
||||
|
||||
assertDetail('Job Slice', '0/1');
|
||||
assertDetail('Forks', '42');
|
||||
|
||||
const credentialChip = wrapper.find(
|
||||
`Detail[label="Credentials"] CredentialChip`
|
||||
|
||||
@ -104,7 +104,7 @@
|
||||
"project": 6,
|
||||
"playbook": "chatty_tasks.yml",
|
||||
"scm_branch": "main",
|
||||
"forks": 0,
|
||||
"forks": 42,
|
||||
"limit": "",
|
||||
"verbosity": 0,
|
||||
"extra_vars": "{\"num_messages\": 94}",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user