diff --git a/static/js/directives/ui/tag-signing-display/tag-signing-display.component.ts b/static/js/directives/ui/tag-signing-display/tag-signing-display.component.ts index 78b14c640..c74b8ad25 100644 --- a/static/js/directives/ui/tag-signing-display/tag-signing-display.component.ts +++ b/static/js/directives/ui/tag-signing-display/tag-signing-display.component.ts @@ -94,7 +94,7 @@ export class TagSigningDisplayComponent { // Find all delegations containing the tag as a target. Object.keys(delegationSet.delegations).forEach((delegationName) => { var delegation = delegationSet.delegations[delegationName]; - if (delegation.targets && delegation.targets[tag.name]) { + if (delegation && delegation.targets && delegation.targets[tag.name]) { var DelegationInfo = this.buildDelegationInfo(tag, delegationName, delegation); info.delegations.push(DelegationInfo); info.delegationsByName[delegationName] = DelegationInfo;