fix rearranging songs in published show

This commit is contained in:
2021-06-20 21:16:55 +02:00
parent 0d91060117
commit 2608e90398

View File

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