File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
src/main/kotlin/com/coder/gateway/views/steps Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 44
55## Unreleased
66
7+ ### Fixed
8+
9+ - The version column now displays "Up to date" or "Outdated" instead of
10+ duplicating the status column.
11+
712## 2.11.7 - 2024-05-22
813
914### Fixed
Original file line number Diff line number Diff line change @@ -893,7 +893,13 @@ class WorkspacesTableModel : ListTableModel<WorkspaceAgentListModel>(
893893
894894 private class WorkspaceVersionColumnInfo (columnName : String ) : ColumnInfo<WorkspaceAgentListModel, String>(columnName) {
895895 override fun valueOf (workspace : WorkspaceAgentListModel ? ): String? {
896- return workspace?.status?.label
896+ return if (workspace == null ) {
897+ " Unknown"
898+ } else if (workspace.workspace.outdated) {
899+ " Outdated"
900+ } else {
901+ " Up to date"
902+ }
897903 }
898904
899905 override fun getRenderer (item : WorkspaceAgentListModel ? ): TableCellRenderer {
You can’t perform that action at this time.
0 commit comments