Skip to content

Commit 950dca3

Browse files
Merge pull request #10 from WildCodeSchool/feature/issue-32/reusable-toggle-button
fix toggle button
2 parents f5576f7 + dc7d7e1 commit 950dca3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<p-tabs [(value)]="activeTabValue">
22
<p-tablist>
33
@for (tab of tabs; track $index) {
4-
<p-tab [value]="tab" (click)="updateNavigation($index)">{{ tab }}</p-tab>
4+
<p-tab [value]="$index" (click)="updateNavigation($index)">{{ tab }}</p-tab>
55
}
66
</p-tablist>
77
</p-tabs>

0 commit comments

Comments
 (0)