mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 09:57:35 -02:30
Hide message stating that the resource has been deleted if the output node is an approval node
This commit is contained in:
@@ -111,7 +111,8 @@ function WorkflowNodeHelp({ node, i18n }) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{!node.unifiedJobTemplate && (
|
{!node.unifiedJobTemplate &&
|
||||||
|
(!node.job || node.job.type !== 'workflow_approval') && (
|
||||||
<>
|
<>
|
||||||
<ResourceDeleted job={node.job}>
|
<ResourceDeleted job={node.job}>
|
||||||
<StyledExclamationTriangleIcon />
|
<StyledExclamationTriangleIcon />
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ describe('WorkflowNodeHelp', () => {
|
|||||||
name: 'Foo Job Template',
|
name: 'Foo Job Template',
|
||||||
elapsed: 9000,
|
elapsed: 9000,
|
||||||
status: 'successful',
|
status: 'successful',
|
||||||
|
type: 'job',
|
||||||
},
|
},
|
||||||
unifiedJobTemplate: {
|
unifiedJobTemplate: {
|
||||||
name: 'Foo Job Template',
|
name: 'Foo Job Template',
|
||||||
|
|||||||
Reference in New Issue
Block a user