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)