We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e11642 commit 4dcf635Copy full SHA for 4dcf635
src/main/kotlin/com/coder/gateway/views/steps/CoderWorkspacesStepView.kt
@@ -893,7 +893,13 @@ class WorkspacesTableModel : ListTableModel<WorkspaceAgentListModel>(
893
894
private class WorkspaceVersionColumnInfo(columnName: String) : ColumnInfo<WorkspaceAgentListModel, String>(columnName) {
895
override fun valueOf(workspace: WorkspaceAgentListModel?): String? {
896
- return workspace?.status?.label
+ return if (workspace == null) {
897
+ "Unknown"
898
+ } else if (workspace.workspace.outdated) {
899
+ "Out of date"
900
+ } else {
901
+ "Up to date"
902
+ }
903
}
904
905
override fun getRenderer(item: WorkspaceAgentListModel?): TableCellRenderer {
0 commit comments