From 2e9c02f84e58d1384453428aa4cd1817f7a3684d Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Tue, 28 Mar 2023 18:12:49 -0700 Subject: [PATCH] Bugfix --- web/static/js/BareRTC.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/static/js/BareRTC.js b/web/static/js/BareRTC.js index 597633b..8882bc2 100644 --- a/web/static/js/BareRTC.js +++ b/web/static/js/BareRTC.js @@ -356,6 +356,10 @@ const app = Vue.createApp({ this.whoList = msg.whoList; this.whoMap = {}; + if (this.whoList == undefined) { + this.whoList = []; + } + // If we had a camera open with any of these and they have gone // off camera, close our side of the connection. for (let row of this.whoList) {