fix template loop references

This commit is contained in:
2026-03-15 13:33:36 +01:00
parent 9bbabb18aa
commit e4f829d0c8
11 changed files with 14 additions and 14 deletions

View File

@@ -37,7 +37,7 @@
}
@if (show) {
<div class="song-parts">
@for (section of song.sections; track section; let i = $index) {
@for (section of song.sections; track section.type + '-' + section.number + '-' + $index; let i = $index) {
<div
(click)="onSectionClick(song.id, i, show.id)"
[class.active]="