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

Commit 4efbf90

Browse files
Fix workspace actions not being disabled initially
1 parent 16b6c4f commit 4efbf90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ class CoderWorkspacesStepView : CoderWizardStep<CoderWorkspacesStepSelection>(
418418
}
419419

420420
init {
421+
updateWorkspaceActions()
421422
addToCenter(component)
422423
}
423424

@@ -651,7 +652,6 @@ class CoderWorkspacesStepView : CoderWizardStep<CoderWorkspacesStepSelection>(
651652
* poller and it has not been stopped.
652653
*/
653654
private fun triggerWorkspacePolling(fetchNow: Boolean) {
654-
updateWorkspaceActions()
655655
if (poller != null && poller?.isCancelled != true) {
656656
throw Exception("Poller was not canceled before starting a new one")
657657
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /