diff --git a/app/scripts/modules/core/src/diffs/viewChangesLink.component.ts b/app/scripts/modules/core/src/diffs/viewChangesLink.component.ts index fa0705fb1a6..ed20da39b26 100644 --- a/app/scripts/modules/core/src/diffs/viewChangesLink.component.ts +++ b/app/scripts/modules/core/src/diffs/viewChangesLink.component.ts @@ -87,7 +87,7 @@ class ViewChangesLinkController implements IController { this.executionService.getExecution(executionId).then((details: any) => { const stage: any = details.stages.find((s: any) => s.id === stageId); this.jarDiffs = stage.context.jarDiffs; - this.commits = stage.context.commits; + this.commits = stage.context.commits || []; extend(this.changeConfig.buildInfo, stage.context.buildInfo); this.setJarDiffs();