Improve tooltip copy

This commit is contained in:
andrewwallacespeckle
2025-04-24 12:47:02 +01:00
parent f2572939ef
commit 6a2fd34147
@@ -229,7 +229,8 @@ const canDeleteWorkspace = computed(
const deleteWorkspaceTooltip = computed(() => {
if (needsSsoLogin.value)
return 'You cannot delete a workspace that requires SSO without an active session'
if (!canDeleteWorkspace.value) return 'You cannot delete an active workspace'
if (!canDeleteWorkspace.value)
return 'You cannot delete a workspace with an active plan. Please cancel your plan before deleting.'
if (!isAdmin.value) return 'Only admins can delete workspaces'
return undefined
})