Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: page loop in datasets and apps if current user is dataset_operator (#21114)
NFishc5acffb03442
diff --git a/web/app/(commonLayout)/datasets/layout.tsx b/web/app/(commonLayout)/datasets/layout.tsxindex bb514fc3488..b3fc5147b52 100644--- a/web/app/(commonLayout)/datasets/layout.tsx+++ b/web/app/(commonLayout)/datasets/layout.tsx@@ -8,15 +8,15 @@ import { useRouter } from 'next/navigation'import { useEffect } from 'react'export default function DatasetsLayout({ children }: { children: React.ReactNode }) {- const { isCurrentWorkspaceEditor } = useAppContext()+ const { isCurrentWorkspaceEditor, isCurrentWorkspaceDatasetOperator } = useAppContext()const router = useRouter()useEffect(() => {- if (!isCurrentWorkspaceEditor)+ if (!isCurrentWorkspaceEditor && !isCurrentWorkspaceDatasetOperator)router.replace('/apps')- }, [isCurrentWorkspaceEditor, router])+ }, [isCurrentWorkspaceEditor, isCurrentWorkspaceDatasetOperator, router])- if (!isCurrentWorkspaceEditor)+ if (!isCurrentWorkspaceEditor && !isCurrentWorkspaceDatasetOperator)return <Loading type='app' />return (<ExternalKnowledgeApiProvider>