From cd07cdca3143923d015f6eb453f28601842719d9 Mon Sep 17 00:00:00 2001 From: Joe Pavitt Date: Fri, 24 Jan 2025 13:41:06 +0000 Subject: [PATCH] Handle no $socket --- ui/src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/App.vue b/ui/src/App.vue index 85e2738f..d35994cb 100644 --- a/ui/src/App.vue +++ b/ui/src/App.vue @@ -142,7 +142,7 @@ export default { } }, created () { - this.$socket.on('ui-config', (topic, payload) => { + this.$socket?.on('ui-config', (topic, payload) => { this.loading = false console.log('ui-config received. topic:', topic, 'payload:', payload)