diff --git a/src/state/CallViewModel.ts b/src/state/CallViewModel.ts index 31a1fdb3..62d71048 100644 --- a/src/state/CallViewModel.ts +++ b/src/state/CallViewModel.ts @@ -377,7 +377,7 @@ export class CallViewModel extends ViewModel { private readonly hasRemoteScreenShares: Observable = this.screenShares.pipe( - map((ms) => ms.find((m) => !m.vm.local) !== undefined), + map((ms) => ms.some((m) => !m.vm.local)), distinctUntilChanged(), );