File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/Shared/Components/CICDHistory Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import { ReactComponent as ICHelpOutline } from '@Icons/ic-help.svg'
24
24
import folder from '@Icons/ic-folder.svg'
25
25
import docker from '@Icons/ic-docker.svg'
26
26
import noartifact from '@Images/no-artifact.webp'
27
+ import { getIsApprovalPolicyConfigured } from '@Shared/Helpers'
27
28
import { TargetPlatformBadgeList } from '../TargetPlatforms'
28
29
import {
29
30
GenericEmptyState ,
@@ -66,7 +67,9 @@ export const CIListItem = ({
66
67
targetPlatforms,
67
68
} : CIListItemType ) => {
68
69
const headerMetaDataPresent =
69
- ! ! userApprovalMetadata || ! ! appliedFilters ?. length || ! ! promotionApprovalMetadata ?. promotedFromType
70
+ ! ! getIsApprovalPolicyConfigured ( userApprovalMetadata ?. approvalConfigData ) ||
71
+ ! ! appliedFilters ?. length ||
72
+ ! ! promotionApprovalMetadata ?. promotedFromType
70
73
71
74
return (
72
75
< >
You can’t perform that action at this time.
0 commit comments