{
const currentWorkspace = workspaceService.currentWorkspace.value
- // If the current workspace is the deleted team, change the workspace to personal
+ // If the current workspace is the deleted workspace, change the workspace to personal
if (
currentWorkspace.type === "team" &&
currentWorkspace.teamID === props.teamID
) {
workspaceService.changeWorkspace({ type: "personal" })
}
+
+ confirmRemove.value = false
}
)
)() // Tasks (and TEs) are lazy, so call the function returned