Skip to content

Commit 2cab328

Browse files
committed
Clear on init as well
Fixes the back button never being available. Plus it makes it so you have to wait for the next fetch which I think makes sense so you are not trying to connect with potentially stale data.
1 parent 972a386 commit 2cab328

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
@@ -311,7 +311,7 @@ class CoderWorkspacesStepView(val enableNextButtonCallback: (Boolean) -> Unit) :
311311
}
312312

313313
override fun onInit(wizardModel: CoderWorkspacesWizardModel) {
314-
enableNextButtonCallback(false)
314+
listTableModelOfWorkspaces.items = emptyList()
315315
if (localWizardModel.coderURL.isNotBlank() && localWizardModel.token.isNotBlank()) {
316316
triggerWorkspacePolling(true)
317317
} else {

0 commit comments

Comments
 (0)