Fix "remove all speaker" button
Remove all speakers was always deactivated
This commit is contained in:
parent
7b0f8e3c25
commit
be0deefdce
@ -151,12 +151,11 @@ export class ListOfSpeakersContentComponent extends BaseViewComponentDirective i
|
||||
}
|
||||
|
||||
private isListOfSpeakersEmpty(): void {
|
||||
if (this.waitingSpeakers && this.waitingSpeakers.length) {
|
||||
this.isListOfSpeakersEmptyEvent.emit(false);
|
||||
} else if (this.finishedSpeakers && this.finishedSpeakers.length) {
|
||||
if (this.waitingSpeakers?.length || this.finishedSpeakers?.length) {
|
||||
this.isListOfSpeakersEmptyEvent.emit(false);
|
||||
} else {
|
||||
return this.isListOfSpeakersEmptyEvent.emit(!this.activeSpeaker);
|
||||
}
|
||||
return this.isListOfSpeakersEmptyEvent.emit(!this.activeSpeaker);
|
||||
}
|
||||
|
||||
private updateCanReaddLastSpeaker(): void {
|
||||
|
Loading…
Reference in New Issue
Block a user