Skip to content

Commit

Permalink
fix(ui): missing workflow components cause rendering errors (#5016)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardlt authored Feb 26, 2020
1 parent bfb8839 commit b8c5eea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/src/app/shared/workflow/wnode/pipeline/node.pipeline.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,21 @@
<div class="details">
<div *ngIf="node.context.application_id || node.context.environment_id || node.context.project_integration_id"
class="context">
<div *ngIf="node.context.application_id" class="item ellipsis">
<div *ngIf="node.context.application_id && workflow.applications[node.context.application_id]" class="item ellipsis">
<a (click)="$event.stopPropagation()"
[routerLink]="['/project', project.key, 'application', workflow.applications[node.context.application_id].name]"
title="{{ 'common_application_title' | translate }}{{workflow.applications[node.context.application_id].name}}">
{{workflow.applications[node.context.application_id].name}}
</a>
</div>
<div *ngIf="node.context.environment_id" class="item ellipsis">
<div *ngIf="node.context.environment_id && workflow.environments[node.context.environment_id]" class="item ellipsis">
<a (click)="$event.stopPropagation()"
[routerLink]="['/project', project.key, 'environment', workflow.environments[node.context.environment_id].name]"
title="{{ 'common_environment_title' | translate}}{{workflow.environments[node.context.environment_id].name}}">
{{workflow.environments[node.context.environment_id].name}}
</a>
</div>
<div *ngIf="node.context.project_integration_id" class="item ellipsis">
<div *ngIf="node.context.project_integration_id && workflow.project_integrations[node.context.project_integration_id]" class="item ellipsis">
<a (click)="$event.stopPropagation()" [routerLink]="['/project', project.key]"
[queryParams]="{tab: 'integrations'}"
title="{{ 'common_integration_title' | translate}}{{workflow.project_integrations[node.context.project_integration_id].name}}">
Expand Down

0 comments on commit b8c5eea

Please sign in to comment.