diff --git a/packages/hoppscotch-common/src/components/teams/Team.vue b/packages/hoppscotch-common/src/components/teams/Team.vue index f8e854a350e..f07e65e3324 100644 --- a/packages/hoppscotch-common/src/components/teams/Team.vue +++ b/packages/hoppscotch-common/src/components/teams/Team.vue @@ -3,137 +3,131 @@ class="flex flex-1 flex-col rounded border border-divider" @contextmenu.prevent="!compact ? options.tippy.show() : null" > -
- - {{ t("state.loading") }} -
- + /> + + + + + + { 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