Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4dcf635

Browse files
committed
Make version column display outdated status
Before it was (probably on accident) just displaying the status again.
1 parent5e11642 commit4dcf635

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,13 @@ class WorkspacesTableModel : ListTableModel<WorkspaceAgentListModel>(
893893

894894
privateclassWorkspaceVersionColumnInfo(columnName:String) : ColumnInfo<WorkspaceAgentListModel, String>(columnName) {
895895
overridefunvalueOf(workspace:WorkspaceAgentListModel?):String? {
896-
return workspace?.status?.label
896+
returnif (workspace==null) {
897+
"Unknown"
898+
}elseif (workspace.workspace.outdated) {
899+
"Out of date"
900+
}else {
901+
"Up to date"
902+
}
897903
}
898904

899905
overridefungetRenderer(item:WorkspaceAgentListModel?):TableCellRenderer {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp