feat: add workspace API and refactor useWorkspace

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
--list
2026-01-15 17:29:15 -08:00
parent 8950b7327f
commit 99d91dd53b
8 changed files with 671 additions and 286 deletions

View File

@@ -264,7 +264,7 @@ const { t, n } = useI18n()
// OWNER with unsubscribed workspace
const isOwnerUnsubscribed = computed(
() => workspaceRole.value === 'OWNER' && !isWorkspaceSubscribed.value
() => workspaceRole.value === 'owner' && !isWorkspaceSubscribed.value
)
const {