fix rearranging songs in published show
This commit is contained in:
@@ -11,7 +11,8 @@
|
|||||||
<p *ngIf="!show.published">
|
<p *ngIf="!show.published">
|
||||||
<mat-checkbox [(ngModel)]="showText">Text anzeigen</mat-checkbox>
|
<mat-checkbox [(ngModel)]="showText">Text anzeigen</mat-checkbox>
|
||||||
</p>
|
</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>
|
<div *ngFor="let song of orderedShowSongs(show); let i = index" class="song-row" cdkDrag>
|
||||||
<app-song
|
<app-song
|
||||||
[showSong]="song"
|
[showSong]="song"
|
||||||
|
|||||||
Reference in New Issue
Block a user