fix remote

This commit is contained in:
2022-11-10 18:13:02 +01:00
parent 0058055dd6
commit c7ff022b84
4 changed files with 20 additions and 20 deletions

View File

@@ -6,14 +6,14 @@
<div class="song">
<div *ngIf="show" class="song-parts">
<div
(click)="onSectionClick('title', -1)"
(click)="onSectionClick('title', -1, show.id)"
[class.active]="show.presentationSongId === 'title'"
class="song-part"
>
<div class="head">Veranstaltung</div>
</div>
<div
(click)="onSectionClick('empty', -1)"
(click)="onSectionClick('empty', -1, show.id)"
[class.active]="show.presentationSongId === 'empty'"
class="song-part"
>
@@ -27,13 +27,13 @@
[class.active]="show.presentationSongId === song.id"
class="title song-part"
>
<div (click)="onSectionClick(song.id, -1)" class="head">
<div (click)="onSectionClick(song.id, -1, show.id)" class="head">
{{ song.title }}
</div>
</div>
<div *ngIf="show" class="song-parts">
<div
(click)="onSectionClick(song.id, i)"
(click)="onSectionClick(song.id, i, show.id)"
*ngFor="let section of song.sections; index as i"
[class.active]="
show.presentationSongId === song.id &&
@@ -61,7 +61,7 @@
<mat-label>Hintergrund</mat-label>
<mat-select
[ngModel]="show.presentationBackground"
(ngModelChange)="onBackground($event)">
(ngModelChange)="onBackground($event, show.id)">
<mat-option value="none">kein Hintergrund</mat-option>
<mat-option value="blue">Sternenhimmel</mat-option>
<mat-option value="green">Blätter</mat-option>
@@ -72,7 +72,7 @@
</mat-form-field>
<mat-slider
(ngModelChange)="onZoom($event)"
(ngModelChange)="onZoom($event, show.id)"
[max]="100"
[min]="10"
[ngModel]="show.presentationZoom"