Skip to content

Commit

Permalink
changed navigation between pattern links to navigation by id (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhinkie authored Nov 24, 2022
1 parent a8ca4b3 commit 20ca07c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
<div *ngIf="directedPatternRelations?.length > 0">
<ng-container *ngFor="let relation of directedPatternRelations">
<p class="horiz-centered">
<a [routerLink]="['..',relation.sourcePatternUri]">{{ relation?.sourcePatternName}}</a>
<a [routerLink]="['..',relation.sourcePatternId]">{{ relation?.sourcePatternName}}</a>
<span *ngIf="relation?.type" class="horiz-centered">
<i class="material-icons">remove</i>{{relation?.type}}
</span>
<i class="material-icons">trending_flat</i>
<a [routerLink]="['..', relation.targetPatternUri]">{{ relation?.targetPatternName}}</a>
<a [routerLink]="['..', relation.targetPatternId]">{{ relation?.targetPatternName}}</a>
<i>{{relation?.description ? ': ' + relation?.description : ''}}</i>
</p>
<br/>
Expand Down

0 comments on commit 20ca07c

Please sign in to comment.