Skip to content

Commit 1d484e2

Browse files
committed
Migrate code to the new API
1 parent 79752e5 commit 1d484e2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
### Changed
1212
- links to documentation now point to the latest Coder OSS
1313
- simplified main action link text from `Connect to Coder Workspaces` to `Connect to Coder`
14+
- minimum supported Gateway build is now 222.3739.24
1415

1516
## [2.0.0]
1617
### Added

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ class CoderLocateRemoteProjectStepView(private val disableNextAction: () -> Unit
145145
val idesWithStatus = withContext(Dispatchers.IO) {
146146
IntelliJPlatformProduct.values()
147147
.filter { it.showInGateway }
148-
.flatMap { CachingProductsJsonWrapper.getAvailableIdes(it, workspaceOS) }
149-
.map { ide -> IdeWithStatus(ide.product, ide.buildNumber, IdeStatus.DOWNLOAD, ide.download, null, ide.presentableVersion) }
148+
.flatMap { CachingProductsJsonWrapper.getInstance().getAvailableIdes(it, workspaceOS) }
149+
.map { ide -> IdeWithStatus(ide.product, ide.buildNumber, IdeStatus.DOWNLOAD, ide.download, null, ide.presentableVersion, ide.remoteDevType) }
150150
}
151151

152152
if (idesWithStatus.isEmpty()) {

0 commit comments

Comments
 (0)