|
|
@ -48,6 +48,8 @@ export const useWorkspace = defineStore('workspaceStore', () => { |
|
|
|
return { id: 'default', title: 'default', meta: {}, roles: '' } as any |
|
|
|
return { id: 'default', title: 'default', meta: {}, roles: '' } as any |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const workspaceRole = computed(() => activeWorkspace.value?.roles) |
|
|
|
|
|
|
|
|
|
|
|
const activeWorkspaceMeta = computed<Record<string, any>>(() => { |
|
|
|
const activeWorkspaceMeta = computed<Record<string, any>>(() => { |
|
|
|
const defaultMeta = {} |
|
|
|
const defaultMeta = {} |
|
|
|
if (!activeWorkspace.value) return defaultMeta |
|
|
|
if (!activeWorkspace.value) return defaultMeta |
|
|
@ -253,6 +255,7 @@ export const useWorkspace = defineStore('workspaceStore', () => { |
|
|
|
isWorkspaceSettingsPageOpened, |
|
|
|
isWorkspaceSettingsPageOpened, |
|
|
|
workspaceUserCount, |
|
|
|
workspaceUserCount, |
|
|
|
getPlanLimit, |
|
|
|
getPlanLimit, |
|
|
|
|
|
|
|
workspaceRole, |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|