MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / hasAssignedWorkspace

Function hasAssignedWorkspace

packages/ui/src/hooks/useAuth.jsx:23–32  ·  view source on GitHub ↗
(workspaceId)

Source from the content-addressed store, hash-verified

21 }
22
23 const hasAssignedWorkspace = (workspaceId) => {
24 if (isOpenSource || isGlobal) {
25 return true
26 }
27 const activeWorkspaceId = currentUser?.activeWorkspaceId || ''
28 if (workspaceId === activeWorkspaceId) {
29 return true
30 }
31 return false
32 }
33
34 const hasDisplay = (display) => {
35 if (!display) {

Callers 6

CanvasFunction · 0.85
VectorStoreConfigureFunction · 0.85
ShowStoredChunksFunction · 0.85
VectorStoreQueryFunction · 0.85
DocumentStoreDetailsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected