Fix the live button.

This commit is contained in:
Chris Witterholt 2024-04-25 20:28:53 +02:00
parent 18ba69088b
commit b62f21bae0
No known key found for this signature in database
GPG Key ID: 66C03249E4759AE9

View File

@ -154,7 +154,7 @@
@else if (state.display) {
<mat-icon>desktop_windows</mat-icon>
}
@else if (state.live) {
@else if (state.live()) {
<mat-icon>videocam</mat-icon>
}
</button>
@ -193,7 +193,7 @@
(click)="showDisplay()"
class="displayButton"
[class.active]="state.display"
[disabled]="state.live"
[disabled]="state.live()"
matTooltip="{{ 'SHOW_PRESENTATION' | translate }}"
matTooltipPosition="above">
<mat-icon>videocam</mat-icon>
@ -242,7 +242,7 @@
@else if (state.display) {
<mat-icon>desktop_windows</mat-icon>
}
@else if (state.live) {
@else if (state.live()) {
<mat-icon>videocam</mat-icon>
}
</button>
@ -278,7 +278,7 @@
mat-icon-button (click)="showDisplay()"
class="displayButton"
[class.active]="state.display"
[disabled]="state.live"
[disabled]="state.live()"
matTooltip="{{ 'SHOW_PRESENTATION' | translate }}"
matTooltipPosition="above">
<mat-icon>videocam</mat-icon>