store flags for songs

This commit is contained in:
2020-04-22 14:40:42 +02:00
committed by smuddy
parent 90ab0a76ae
commit 1231b69ff0
15 changed files with 91 additions and 16 deletions

View File

@@ -1,9 +1,9 @@
<div *ngIf="shows$|async as shows">
<app-card>
<p *ngIf="!shows.length">Es ist derzeit keine Veranstaltung vorhanden</p>
<p *ngIf="!shows.length" @fade>Es ist derzeit keine Veranstaltung vorhanden</p>
<mat-form-field *ngIf="shows.length>0" appearance="outline">
<mat-form-field *ngIf="shows.length>0" @fade appearance="outline">
<mat-label>Veranstaltung</mat-label>
<mat-select [formControl]="showControl">
<mat-option *ngFor="let show of shows" [value]="show.id">
@@ -12,7 +12,7 @@
</mat-select>
</mat-form-field>
<div *ngFor="let song of presentationSongs" class="song">
<div *ngFor="let song of presentationSongs" @fade class="song">
<div [class.active]="show.presentationSongId===song.id" class="title song-part">
<div (click)="onSectionClick(song.id, -1)" class="head">{{song.title}}</div>
</div>