fix: ordering songs in show

This commit is contained in:
2020-03-22 00:08:09 +01:00
committed by smuddy
parent 8149e56dad
commit 597f6ac187
3 changed files with 6 additions and 7 deletions

View File

@@ -2,12 +2,12 @@
<app-card
heading="{{show.showType|showType}}, {{show.date.toDate()|date:'dd.MM.yyyy'}}">
<div *ngIf="showSongs" class="song-list">
<div *ngIf="showSongs && songs" class="song-list">
<app-song *ngFor="let song of showSongs"
[showId]="showId"
[showSong]="song"
[showSongs]="showSongs"
[song]="getSong(songs, song.songId)"
[song]="getSong(song.songId)"
></app-song>
</div>