Skip to content

Commit ce211fd

Browse files
fix: Do not update workspace on start (#3984)
1 parent 8a94b72 commit ce211fd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

site/src/xServices/workspace/workspaceXService.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,10 @@ export const workspaceMachine = createMachine(
526526
},
527527
startWorkspace: async (context) => {
528528
if (context.workspace) {
529-
return await API.startWorkspace(context.workspace.id, context.template?.active_version_id)
529+
return await API.startWorkspace(
530+
context.workspace.id,
531+
context.workspace.latest_build.template_version_id,
532+
)
530533
} else {
531534
throw Error("Cannot start workspace without workspace id")
532535
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy