mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 00:37:37 -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 (
|
||||
<>
|
||||
{!node.unifiedJobTemplate && (
|
||||
{!node.unifiedJobTemplate &&
|
||||
(!node.job || node.job.type !== 'workflow_approval') && (
|
||||
<>
|
||||
<ResourceDeleted job={node.job}>
|
||||
<StyledExclamationTriangleIcon />
|
||||
|
||||
@@ -13,6 +13,7 @@ describe('WorkflowNodeHelp', () => {
|
||||
name: 'Foo Job Template',
|
||||
elapsed: 9000,
|
||||
status: 'successful',
|
||||
type: 'job',
|
||||
},
|
||||
unifiedJobTemplate: {
|
||||
name: 'Foo Job Template',
|
||||
|
||||
Reference in New Issue
Block a user