10000 feat: show deleted workspace after delete action by Kira-Pilot · Pull Request #2208 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

feat: show deleted workspace after delete action #2208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jun 9, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
cleaning up unneeded xstate service
  • Loading branch information
Kira-Pilot committed Jun 9, 2022
commit b4391e3863e669e4c91cd87fba502cb11241881b
2 changes: 1 addition & 1 deletion site/src/util/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const inProgressToStatus: Record<WorkspaceBuildTransition, WorkspaceStatus> = {
delete: "deleting",
}

export const succeededToStatus: Record<WorkspaceBuildTransition, WorkspaceStatus> = {
const succeededToStatus: Record<WorkspaceBuildTransition, WorkspaceStatus> = {
start: "started",
stop: "stopped",
delete: "deleted",
Expand Down
3 changes: 0 additions & 3 deletions site/src/xServices/workspace/workspaceXService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ export const workspaceMachine = createMachine(
getWorkspace: {
data: TypesGen.Workspace
}
getDeletedWorkspace: {
data: TypesGen.Workspace
}
getTemplate: {
data: TypesGen.Template
}
Expand Down
0