diff --git a/app/scripts/modules/core/src/pipeline/config/stages/managed/ImportDeliveryConfigExecutionDetails.tsx b/app/scripts/modules/core/src/pipeline/config/stages/managed/ImportDeliveryConfigExecutionDetails.tsx index 3605b612683..ab555f60f0a 100644 --- a/app/scripts/modules/core/src/pipeline/config/stages/managed/ImportDeliveryConfigExecutionDetails.tsx +++ b/app/scripts/modules/core/src/pipeline/config/stages/managed/ImportDeliveryConfigExecutionDetails.tsx @@ -4,6 +4,8 @@ import { ExecutionDetailsSection, IExecutionDetailsSectionProps, StageFailureMes import { IGitTrigger } from 'core/domain'; import { SETTINGS } from 'core/config'; +const NOT_FOUND = 'Not found'; + export function ImportDeliveryConfigExecutionDetails(props: IExecutionDetailsSectionProps) { const { stage } = props; const trigger = props.execution.trigger as IGitTrigger; @@ -18,17 +20,17 @@ export function ImportDeliveryConfigExecutionDetails(props: IExecutionDetailsSec
SCM
-
{trigger.source}
+
{trigger.source ?? NOT_FOUND}
Project
-
{trigger.project}
+
{trigger.project ?? NOT_FOUND}
Repository
-
{trigger.slug}
+
{trigger.slug ?? NOT_FOUND}
Manifest Path
-
{manifestPath}
+
{manifestPath ?? NOT_FOUND}
Branch
-
{trigger.branch}
+
{trigger.branch ?? NOT_FOUND}
Commit
-
{trigger.hash.substring(0, 7)}
+
{trigger.hash?.substring(0, 7) ?? NOT_FOUND}