Skip to content

Commit ea43cd4

Browse files
committed
fix: hide start action after calling the CLI
Start action was still visible because the action list was not yet refreshed.
1 parent 62eea90 commit ea43cd4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/kotlin/com/coder/toolbox/CoderRemoteEnvironment.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ class CoderRemoteEnvironment(
134134
// while the user won't see anything happening in TBX after start is clicked
135135
// During those 15 seconds we work around by forcing a `Queuing` state
136136
updateStatus(WorkspaceAndAgentStatus.QUEUED)
137+
// force refresh of the actions list (Start should no longer be available)
138+
refreshAvailableActions()
137139
})
138140
}
139141
}

0 commit comments

Comments
 (0)