Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Unregister refreshPeerList on unmount
Fix copy-paste issue, replacing "$on" with "$off" when unmounting the
call view.

Signed-off-by: Vincent Petry <[email protected]>
  • Loading branch information
PVince81 committed Nov 27, 2020
commit ae680c4b2d5fe511797c54e988130bc447e951cd
2 changes: 1 addition & 1 deletion src/components/CallView/CallView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ export default {
EventBus.$on('refreshPeerList', this.debounceFetchPeers)
},
unmounted() {
EventBus.$on('refreshPeerList', this.debounceFetchPeers)
EventBus.$off('refreshPeerList', this.debounceFetchPeers)
},
methods: {
/**
Expand Down