Skip to content

Commit dc7d7e1

Browse files
author
Emmanuelle BONOLI
committed
fix toggle button
1 parent 40ae0c8 commit dc7d7e1

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)