Skip to content

Commit

Permalink
Update ui/src/widgets/data-tracker.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
joepavitt authored Oct 4, 2024
1 parent 1d9c0fc commit 649363b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/src/widgets/data-tracker.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export function useDataTracker (widgetId, onInput, onLoad, onDynamicProperties)
}

function onConnect () {
// when we unexpectedly disconnect, this is set to true
if (emitWidgetLoadOnConnect) {
emitWidgetLoadOnConnect = false
socket.emit('widget-load', widgetId)
Expand Down

0 comments on commit 649363b

Please sign in to comment.