File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
src/main/kotlin/com/coder/gateway Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,12 @@ data class WorkspaceAgent(
2020 @SerializedName(" operating_system" ) val operatingSystem : String ,
2121 @SerializedName(" startup_script" ) val startupScript : String? ,
2222 @SerializedName(" directory" ) val directory : String? ,
23+ @SerializedName(" expanded_directory" ) val expandedDirectory : String? ,
2324 @SerializedName(" version" ) val version : String ,
2425 @SerializedName(" apps" ) val apps : List <WorkspaceApp >,
2526 @SerializedName(" latency" ) val derpLatency : Map <String , DERPRegion >? ,
2627 @SerializedName(" connection_timeout_seconds" ) val connectionTimeoutSeconds : Int ,
27- @SerializedName(" troubleshooting_url" ) val troubleshootingURL : String
28+ @SerializedName(" troubleshooting_url" ) val troubleshootingURL : String ,
2829)
2930
3031enum class WorkspaceAgentStatus {
@@ -44,4 +45,4 @@ enum class WorkspaceAgentStatus {
4445data class DERPRegion (
4546 @SerializedName(" preferred" ) val preferred : Boolean ,
4647 @SerializedName(" latency_ms" ) val latencyMillis : Double
47- )
48+ )
Original file line number Diff line number Diff line change @@ -655,7 +655,7 @@ class CoderWorkspacesStepView(val setNextButtonEnabled: (Boolean) -> Unit) : Cod
655655 this .latestBuild.transition,
656656 OS .from(agent.operatingSystem),
657657 Arch .from(agent.architecture),
658- agent.directory
658+ agent.expandedDirectory ? : agent. directory,
659659 )
660660 cs.launch(Dispatchers .IO ) {
661661 wm.templateIcon = iconDownloader.load(wm.templateIconPath, wm.name)
You can’t perform that action at this time.
0 commit comments