summaryrefslogtreecommitdiffstats
path: root/src/components/CallView/shared/LocalVideo.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/CallView/shared/LocalVideo.vue')
-rw-r--r--src/components/CallView/shared/LocalVideo.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/CallView/shared/LocalVideo.vue b/src/components/CallView/shared/LocalVideo.vue
index aa6d40402..411284454 100644
--- a/src/components/CallView/shared/LocalVideo.vue
+++ b/src/components/CallView/shared/LocalVideo.vue
@@ -62,7 +62,7 @@
:model="localMediaModel"
:local-call-participant-model="localCallParticipantModel"
:screen-sharing-button-hidden="isSidebar"
- @switch-screen-to-id="$emit('switchScreenToId', $event)" />
+ @switch-screen-to-id="switchScreenToId($event)" />
</transition>
<div v-if="mouseover && isSelectable" class="hover-shadow" />
<div class="bottom-bar">
@@ -314,6 +314,10 @@ export default {
this.$store.dispatch('selectedVideoPeerId', null)
this.$store.dispatch('stopPresentation')
},
+
+ switchScreenToId(id) {
+ this.$emit('switch-screen-to-id', id)
+ },
},
}