Skip to content

Commit ebb97dc

Browse files
authored
Do not remove CLI when going back to workspaces view (#278)
* Do not remove CLI when going back to workspaces view We set it when connecting so this results in no CLI being available (for example if you go back and select a different or even the same workspace). Fixes #277. * Bump version
1 parent b84a413 commit ebb97dc

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
## 2.5.1 - 2023-07-07
88

9+
### Fixed
10+
- Inability to connect to a workspace after going back to the workspaces view.
11+
912
### Fixed
1013
- Inability to download new editors in older versions of Gateway.
1114

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
pluginGroup=com.coder.gateway
44
pluginName=coder-gateway
55
# SemVer format -> https://semver.org
6-
pluginVersion=2.5.1
6+
pluginVersion=2.5.2
77
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
88
# for insight into build numbers and IntelliJ Platform versions.
99
pluginSinceBuild=223.7571.70

src/main/kotlin/com/coder/gateway/views/steps/CoderWorkspacesStepView.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@ class CoderWorkspacesStepView(val setNextButtonEnabled: (Boolean) -> Unit) : Cod
303303
}
304304

305305
override fun onInit(wizardModel: CoderWorkspacesWizardModel) {
306-
cliManager = null
307306
tableOfWorkspaces.listTableModel.items = emptyList()
308307
if (localWizardModel.coderURL.isNotBlank() && localWizardModel.token != null) {
309308
triggerWorkspacePolling(true)

0 commit comments

Comments
 (0)