Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2020-11-27 14:23:11 +0300
committerVincent Petry <vincent@nextcloud.com>2020-11-27 14:23:11 +0300
commitae680c4b2d5fe511797c54e988130bc447e951cd (patch)
tree725c24a0655b7b4e629a5392167bb079f25f2c66 /src
parent10ba04b3c81cf2322720d65a86567fab2c3375db (diff)
Unregister refreshPeerList on unmount
Fix copy-paste issue, replacing "$on" with "$off" when unmounting the call view. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'src')
-rw-r--r--src/components/CallView/CallView.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/CallView/CallView.vue b/src/components/CallView/CallView.vue
index 50f82447d..00c373cd3 100644
--- a/src/components/CallView/CallView.vue
+++ b/src/components/CallView/CallView.vue
@@ -371,7 +371,7 @@ export default {
EventBus.$on('refreshPeerList', this.debounceFetchPeers)
},
unmounted() {
- EventBus.$on('refreshPeerList', this.debounceFetchPeers)
+ EventBus.$off('refreshPeerList', this.debounceFetchPeers)
},
methods: {
/**