another attempt for ws null fix

This commit is contained in:
Sagi Dayan 2020-05-01 14:37:20 -04:00
parent a6e15d6b64
commit 1df196936c
5 changed files with 12 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -109,9 +109,14 @@ export default {
components: { components: {
Modal Modal
}, },
async created() { watch: {
ws(val, oldVal) {
if (val != null) {
this.callManager = this.ws.callManager; this.callManager = this.ws.callManager;
}
}
}, },
async created() {},
updated() { updated() {
if (!this.inCall) { if (!this.inCall) {
this.subscribedToLobbyEvents = false; this.subscribedToLobbyEvents = false;