Skip to content

Commit

Permalink
Handle no $socket
Browse files Browse the repository at this point in the history
  • Loading branch information
joepavitt committed Jan 24, 2025
1 parent ea2c244 commit cd07cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cd07cdc

Please sign in to comment.