File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Shared/Components/CICDHistory Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import { ReactComponent as Arrow } from '../../../Assets/Icon/ic-arrow-forward.s
29
29
import mechanicalOperation from '../../../Assets/Icon/ic-mechanical-operation.svg'
30
30
import CDEmptyState from './CDEmptyState'
31
31
import DeploymentStatusDetailBreakdown from './DeploymentStatusBreakdown'
32
- import { processDeploymentStatusDetailsData } from '../../Helpers'
32
+ import { getIsApprovalPolicyConfigured , processDeploymentStatusDetailsData } from '../../Helpers'
33
33
34
34
let deploymentStatusTimer = null
35
35
const DeploymentDetailSteps = ( {
@@ -150,7 +150,7 @@ const DeploymentDetailSteps = ({
150
150
) : (
151
151
< div className = "dc__mxw-1000 min-w-800" >
152
152
{ renderDeploymentApprovalInfo &&
153
- userApprovalMetadata &&
153
+ getIsApprovalPolicyConfigured ( userApprovalMetadata ?. approvalConfigData ) &&
154
154
renderDeploymentApprovalInfo ( userApprovalMetadata ) }
155
155
< DeploymentStatusDetailBreakdown
156
156
deploymentStatusDetailsBreakdownData = { deploymentStatusDetailsBreakdownData }
You can’t perform that action at this time.
0 commit comments