Skip to content

armgit / dify

Public Imported from GitHub
0

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.

fix(web): center agent detail loading indicator (#42457)

yyh9a5bd65e3392
diff --git a/web/features/agent-v2/agent-detail/layout.tsx b/web/features/agent-v2/agent-detail/layout.tsx
index 857c5ceea5b..7ad6f3de0a0 100644
--- a/web/features/agent-v2/agent-detail/layout.tsx
+++ b/web/features/agent-v2/agent-detail/layout.tsx
@@ -51,7 +51,7 @@ export function AgentDetailLayout({ agentId, children }: AgentDetailLayoutProps)
if (redirectPath) router.replace(redirectPath)
}, [router, redirectPath])
- if (agentQuery.isPending) return <Loading />
+ if (agentQuery.isPending) return <Loading type="app" />
if (redirectPath) return null
if (agentQuery.isError) {
return (