bugfixing

This commit is contained in:
2021-06-13 23:18:47 +02:00
parent 4b931c06d8
commit 0d91060117
5 changed files with 24 additions and 60 deletions

View File

@@ -12,12 +12,13 @@
<mat-checkbox [(ngModel)]="showText">Text anzeigen</mat-checkbox>
</p>
<div *ngIf="showSongs" class="song-list" cdkDropList (cdkDropListDropped)="drop($event, show)">
<div *ngFor="let song of orderedShowSongs(show)" class="song-row" cdkDrag>
<div *ngFor="let song of orderedShowSongs(show); let i = index" class="song-row" cdkDrag>
<app-song
[showSong]="song"
[showId]="showId"
[showText]="showText"
[show]="show"
[index]="i"
></app-song>
</div>
</div>