Skip to content

Commit c29ae29

Browse files
Splaktarandrewseguin
authored andcommittedOct 22, 2019
fix(category-list): bad routerLink path with relativeLinkResolution (#663)
needed with the router's `relativeLinkResolution: 'corrected'` Fixes #661
1 parent b4dc1d0 commit c29ae29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎material.angular.io/src/app/pages/component-category-list/component-category-list.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="docs-component-category-list">
33
<a *ngFor="let category of docItems.getCategories((params | async)?.section)"
44
class="docs-component-category-list-item"
5-
[routerLink]="['../', category.id]">
5+
[routerLink]="[category.id]">
66
<mat-card class="docs-component-category-list-card">
77
<mat-card-title>{{category.name}}</mat-card-title>
88
<mat-card-content class="docs-component-category-list-card-summary">{{category.summary}}</mat-card-content>

0 commit comments

Comments
 (0)
Please sign in to comment.