Skip to content

Commit 01ba5ef

Browse files
committedJun 29, 2022
Fix: regression in opening a recent connection
- the gateway client is not launched when user clicks on a recent connection action button. - this is caused by an NPE due to missing information about the web terminal link, which was removed by mistake in a previous commit while adding support for creating new connections from the recents view panel.
1 parent f436b9d commit 01ba5ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/main/kotlin/com/coder/gateway/views/CoderGatewayRecentWorkspaceConnectionsView.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ class CoderGatewayRecentWorkspaceConnectionsView : GatewayRecentConnections, Dis
145145
"project_path" to connectionDetails.projectPath!!,
146146
"ide_product_code" to product.productCode,
147147
"ide_build_number" to "${connectionDetails.ideBuildNumber}",
148-
"ide_download_link" to "${connectionDetails.downloadSource}"
148+
"ide_download_link" to "${connectionDetails.downloadSource}",
149+
"web_terminal_link" to "${connectionDetails.webTerminalLink}"
149150
)
150151
)
151152
}

0 commit comments

Comments
 (0)