Skip to content

Commit

Permalink
fix: navigation tab を推奨されている使い方に変更
Browse files Browse the repository at this point in the history
  • Loading branch information
kasaharu committed Jan 10, 2024
1 parent 5f0511b commit dec1dd4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<app-page-title [title]="'Activity'"></app-page-title>

<nav mat-tab-nav-bar>
<nav mat-tab-nav-bar [tabPanel]="tabPanel">
@for (category of categories; track category) {

<a mat-tab-link [active]="activeLink === category.key" [routerLink]="category.key">{{ category.label }}</a>

}
</nav>
<mat-tab-nav-panel #tabPanel></mat-tab-nav-panel>

<router-outlet></router-outlet>

0 comments on commit dec1dd4

Please sign in to comment.