Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasMasuch authored and vdonato committed May 22, 2024
1 parent d224911 commit beea654
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/app/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@ export class App extends PureComponent<Props, State> {

if (newState === ConnectionState.CONNECTED) {
logMessage("Reconnected to server; requesting a script run")
// Trigger a full app rerun:
this.widgetMgr.sendUpdateWidgetsMessage(undefined)
this.setState({ dialog: null })
} else {
Expand Down Expand Up @@ -1340,6 +1341,7 @@ export class App extends PureComponent<Props, State> {
this.saveSettings({ ...this.state.userSettings, runOnSave: true })
}

// Trigger a full app rerun:
this.widgetMgr.sendUpdateWidgetsMessage(undefined)
}

Expand Down

0 comments on commit beea654

Please sign in to comment.