Skip to content

Commit

Permalink
Merge pull request #1594 from FlowFuse/handle-no-socket
Browse files Browse the repository at this point in the history
Handle no $socket
  • Loading branch information
joepavitt authored Jan 24, 2025
2 parents 306b333 + cd07cdc commit d767ed8
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 d767ed8

Please sign in to comment.