We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fcef9b commit 5a9c93fCopy full SHA for 5a9c93f
src/main/kotlin/com/coder/toolbox/CoderRemoteEnvironment.kt
@@ -68,7 +68,7 @@ class CoderRemoteEnvironment(
68
}
69
70
},
71
- Action(context.i18n.ptrl("Start"), enabled = { wsRawStatus.canStart() }) {
+ Action(context.i18n.ptrl("Start"), enabled = { wsRawStatus.canStart() && !workspace.outdated }) {
72
val build = client.startWorkspace(workspace)
73
workspace = workspace.copy(latestBuild = build)
74
update(workspace, agent)
0 commit comments