Skip to content

Commit 9c23f9a

Browse files
committed
fix: delete status color instead of unreachable
1 parent d5f80fe commit 9c23f9a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ enum class WorkspaceAndAgentStatus(val label: String, val description: String) {
7676
return if (ready()) colorPalette.getColor(StandardRemoteEnvironmentState.Active)
7777
else if (canStart()) colorPalette.getColor(StandardRemoteEnvironmentState.Failed)
7878
else if (pending()) colorPalette.getColor(StandardRemoteEnvironmentState.Activating)
79+
else if (this == DELETING) colorPalette.getColor(StandardRemoteEnvironmentState.Deleting)
80+
else if (this == DELETED) colorPalette.getColor(StandardRemoteEnvironmentState.Deleted)
7981
else colorPalette.getColor(StandardRemoteEnvironmentState.Unreachable)
8082
}
8183

0 commit comments

Comments
 (0)