Skip to content

Commit d2b4fda

Browse files
committed
fix: icon retrieval from Coder
- relative icons to Coder deployment were not retrieved.
1 parent bb3328e commit d2b4fda

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/kotlin/com/coder/gateway/sdk/TemplateIconDownloader.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class TemplateIconDownloader {
1919
var url: URL? = null
2020
if (path.startsWith("http")) {
2121
url = path.toURL()
22-
} else if (path.contains(coderClient.coderURL.host)) {
22+
} else if (!path.contains(":") && !path.contains("//")) {
2323
url = coderClient.coderURL.withPath(path)
2424
}
2525

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class CoderWorkspacesStepView(val enableNextButtonCallback: (Boolean) -> Unit) :
118118
maxWidth = JBUI.scale(52)
119119
minWidth = JBUI.scale(52)
120120
}
121-
121+
rowHeight = 48
122122
setSelectionMode(ListSelectionModel.SINGLE_SELECTION)
123123
selectionModel.addListSelectionListener {
124124
enableNextButtonCallback(selectedObject != null && selectedObject?.agentStatus == RUNNING && selectedObject?.agentOS == OS.LINUX)

0 commit comments

Comments
 (0)