File tree Expand file tree Collapse file tree
src/Shared/Components/CICDHistory Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ import { ZERO_TIME_STRING } from '@Common/Constants'
2626import { CommitChipCell } from '@Shared/Components/CommitChipCell'
2727import { ImageChipCell } from '@Shared/Components/ImageChipCell'
2828import { getHandleOpenURL } from '@Shared/Helpers'
29+ import { useMainContext } from '@Shared/Providers'
2930import { ToastManager , ToastVariantType } from '@Shared/Services'
3031import { getDeploymentStageTitle } from '@Pages/Applications'
3132
@@ -453,6 +454,8 @@ const TriggerDetails = memo(
453454 isLatest,
454455 appName,
455456 } : TriggerDetailsType ) => {
457+ const { isFELibAvailable } = useMainContext ( )
458+
456459 const [ resourceConflictModal , setResourceConflictModal ] = useState < ResourceConflictModalType > ( null )
457460
458461 const executionInfo = useMemo (
@@ -463,6 +466,7 @@ const TriggerDetails = memo(
463466 const errorMessage = executionInfo ?. workerDetails . message || message
464467
465468 const showResourceConflictInfoBlock =
469+ isFELibAvailable &&
466470 isLatest &&
467471 ( type === HistoryComponentType . CD || type === HistoryComponentType . GROUP_CD ) &&
468472 stage === DeploymentStageType . DEPLOY &&
You can’t perform that action at this time.
0 commit comments