8000 impl: use the new constructor parameters work environment status · coder/coder-jetbrains-toolbox@f3b2be2 · GitHub
[go: up one dir, main page]

Skip to content

Commit f3b2be2

Browse files
committed
impl: use the new constructor parameters work environment status
1 parent 894d56e commit f3b2be2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/kotlin/com/coder/toolbox/models/WorkspaceAndAgentStatus.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ enum class WorkspaceAndAgentStatus(val label: String, val description: String) {
6565
return CustomRemoteEnvironmentStateV2(
6666
context.i18n.pnotr(label),
6767
color = getStateColor(context),
68-
reachable = ready() || unhealthy(),
68+
isReachable = ready() || unhealthy(),
6969
// TODO@JB: How does this work? Would like a spinner for pending states.
70-
icon = getStateIcon()
70+
iconId = getStateIcon().id,
7171
)
7272
}
7373

0 commit comments

Comments
 (0)
0