Commit 54877bfd authored by Alexander Philipp Nowosad's avatar Alexander Philipp Nowosad
Browse files

Fix example and pattern navigation

parent 05614d82
Pipeline #139164 failed with stages
in 13 minutes and 2 seconds
<div class="nav-scroller bg-white shadow-sm">
<nav class="nav nav-underline">
<a class="nav-link" [routerLink]="['/', 'expertModels']">
Canvas Building Blocks
</a>
<a
*ngIf="expertModel"
class="nav-link"
[routerLink]="['/expertModels', expertModel._id]"
>{{ expertModel.name }}</a
>
<a
*ngIf="expertModel"
class="nav-link active"
[routerLink]="['/expertModels', expertModel._id, 'examples', example.id]"
>{{ example.name }}</a
[routerLink]="['/', 'expertModels', expertModel._id]"
>
{{ expertModel.name }}
</a>
<a *ngIf="expertModel" class="nav-link active" [routerLink]="[]">
{{ example.name }}
</a>
</nav>
</div>
......
<div class="nav-scroller bg-white shadow-sm">
<nav class="nav nav-underline">
<a class="nav-link" [routerLink]="['/', 'expertModels']">
Canvas Building Blocks
</a>
<a
*ngIf="expertModel"
class="nav-link"
[routerLink]="['/expertModels', expertModel._id]"
>{{ expertModel.name }}</a
>
<a
*ngIf="expertModel"
class="nav-link active"
[routerLink]="['/expertModels', expertModel._id, 'patterns', pattern.id]"
>{{ pattern.name }}</a
[routerLink]="['/', 'expertModels', expertModel._id]"
>
{{ expertModel.name }}
</a>
<a *ngIf="expertModel" class="nav-link active" [routerLink]="[]">
{{ pattern.name }}
</a>
</nav>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment