summaryrefslogtreecommitdiffstats
path: root/src/components/CallView/CallView.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/CallView/CallView.vue')
-rw-r--r--src/components/CallView/CallView.vue10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/CallView/CallView.vue b/src/components/CallView/CallView.vue
index f89f2bc01..392aa008b 100644
--- a/src/components/CallView/CallView.vue
+++ b/src/components/CallView/CallView.vue
@@ -22,13 +22,13 @@
<template>
<div id="call-container">
- <EmptyCallView v-if="!remoteParticipantsCount && !screenSharingActive && !isGrid"
- :is-sidebar="isSidebar" />
-
- <ViewerOverlayCallView v-else-if="isViewerOverlay && promotedParticipantModel"
+ <ViewerOverlayCallView v-if="isViewerOverlay"
:token="token"
:model="promotedParticipantModel"
- :shared-data="sharedDatas[promotedParticipantModel.attributes.peerId]" />
+ :shared-data="promotedParticipantModel && sharedDatas[promotedParticipantModel.attributes.peerId]" />
+
+ <EmptyCallView v-if="!remoteParticipantsCount && !screenSharingActive && !isGrid"
+ :is-sidebar="isSidebar" />
<div v-else-if="!isViewerOverlay" id="videos">
<template v-if="!isGrid">