Skip to content

Commit 6a8ad2f

Browse files
authored
fix(auth): help button in "save connection" prompt does nothing (#3046)
1 parent 513bd62 commit 6a8ad2f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Bug Fix",
3+
"description": "Help button on the \"save connection\" prompt does nothing"
4+
}

src/credentials/secondaryAuth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ async function promptUseNewConnection(newConn: Connection, oldConn: Connection,
3131
} as const
3232

3333
const helpButton = createHelpButton()
34-
const openLink = () => helpButton.onClick()
34+
const openLink = helpButton.onClick.bind(helpButton)
3535
helpButton.onClick = () => {
3636
telemetry.ui_click.emit({ elementId: 'connection_multiple_auths_help' })
3737
openLink()

0 commit comments

Comments
 (0)