Skip to content

Commit

Permalink
Do not remove CLI when going back to workspaces view (#278)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
code-asher authored Jul 27, 2023
1 parent b84a413 commit ebb97dc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

## 2.5.1 - 2023-07-07

### Fixed
- Inability to connect to a workspace after going back to the workspaces view.

### Fixed
- Inability to download new editors in older versions of Gateway.

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
pluginGroup=com.coder.gateway
pluginName=coder-gateway
# SemVer format -> https://semver.org
pluginVersion=2.5.1
pluginVersion=2.5.2
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
# for insight into build numbers and IntelliJ Platform versions.
pluginSinceBuild=223.7571.70
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ class CoderWorkspacesStepView(val setNextButtonEnabled: (Boolean) -> Unit) : Cod
}

override fun onInit(wizardModel: CoderWorkspacesWizardModel) {
cliManager = null
tableOfWorkspaces.listTableModel.items = emptyList()
if (localWizardModel.coderURL.isNotBlank() && localWizardModel.token != null) {
triggerWorkspacePolling(true)
Expand Down

0 comments on commit ebb97dc

Please sign in to comment.